rdhabalia commented on issue #1478: Fix race condition in skipEntries that 
moves readPosition and markDeletePosition incorrectly
URL: https://github.com/apache/incubator-pulsar/pull/1478#issuecomment-377595410
 
 
   > Would it happen by having a thread acking messages and then other thread 
calling reset cursor?
   
   that's correct. [skipping 
entries](https://github.com/apache/incubator-pulsar/blob/master/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java?utf8=%E2%9C%93#L1166)
 and acking happens in different thread.
   It's little tricky to reproduce in unit-test, but I will try or will do it 
in separate PR.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to