You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/30 18:51:37 UTC

[GitHub] rdhabalia commented on issue #1478: Fix race condition in skipEntries that moves readPosition and markDeletePosition incorrectly

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:
users@infra.apache.org


With regards,
Apache Git Services