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 2019/10/23 11:48:05 UTC

[GitHub] [pulsar] ivankelly opened a new pull request #5448: Give compacted ledger some time to update in python test (#2321)

ivankelly opened a new pull request #5448: Give compacted ledger some time to update in python test (#2321)
URL: https://github.com/apache/pulsar/pull/5448
 
 
   After compaction completes the compacted ledger is recorded as a
   property of a cursor. As persisting the cursor is async and we don't
   wait for the acknowledgement of the acknowledgement, there may be a
   race if we try to read the compacted ledger immediately.
   
   To avoid this race, I've added a 1 second sleep to allow the compacted
   ledger to be updated on the broker.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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