athanatos opened a new issue #865: LongHierarchicalLedgerManager: fix race with 
concurrent updates in initialize()
URL: https://github.com/apache/bookkeeper/issues/865
 
 
   LongHierarchicalLedgerRangeIterator.initialize() can erroneously exit with 
iteratorDone if the lexicographically first path in zk has fewer than 4 levels. 
 This can happen for a few reasons including a case where a client creating a 
ledger on that path crashed during the zk updates or the iterator.hasNext() 
call simply raced with an in-progress node creation or removal.  
ScanAndCompareGarbageCollector is hasNext() returns false will delete all 
ledgers on the bookie, so this is a fairly serious bug.
   

----------------------------------------------------------------
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