You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root cause is that the message after seek may be cleaned up when cleaning messageCh. Causes messages loss, causing the test to be blocked in the Receive method
In short, when calls SeekByTime sub-consumers success, sub-consumers will send messages to messageCh. So, the message after seeking may be cleaned up, and finally, lose these messages.
Activity
shibd commentedon Mar 9, 2023
The root cause is that the message after seek may be cleaned up when cleaning
messageCh. Causes messages loss, causing the test to be blocked in theReceivemethodpulsar-client-go/pulsar/consumer_test.go
Line 3684 in 42ded0d
In short, when calls
SeekByTimesub-consumers success,sub-consumerswill send messages tomessageCh. So, the message after seeking may be cleaned up, and finally, lose these messages.pulsar-client-go/pulsar/consumer_impl.go
Lines 668 to 686 in d98c4f1
Refer logs:
hello-0andhello-99are messages after seek.This issue exists the java client, about more information, refer to PIP: apache/pulsar#16757
This flaky test is not too easy to happen. I think we can wait for this PIP to finish.