athanatos opened a new pull request #876: Issue 870: 
ScanAndCompareGarbageCollector: harden against LM bugs
URL: https://github.com/apache/bookkeeper/pull/876
 
 
   The idea behind this patch is to make it more likely that more than one
   LedgerManager bug would be required to erroneously believe a ledger to be
   deleted.
   1) Remove the special handling for the completely empty LM.  It's not
   really a common case nor is it much of an optimization even when it
   happens.
   2) Add a config variable to cause the bookie to also check the
   LedgerManager.readLedgerMetadata path before actually removing a ledger.
   The implementations of readLedgerMetadata and the iterator are
   sufficiently different that it seems worth it to have the option of
   checking both to guard somewhat against a bug in either.
   
   (@bug W-4292747@)
   (@bug W-3027938@)
   Signed-off-by: Samuel Just <[email protected]>
   Signed-off-by: Charan Reddy Guttapalem <[email protected]>
   
   Descriptions of the changes in this PR:
   
   (PR description content here)...
   
   Master Issue: #870
   

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