You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2017/12/15 23:15:30 UTC

[GitHub] athanatos opened a new issue #865: LongHierarchicalLedgerManager: fix race with concurrent updates in initialize()

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


With regards,
Apache Git Services