hangc0276 opened a new pull request #2964:
URL: https://github.com/apache/bookkeeper/pull/2964


   ### Motivation
   After we support RocksDB backend entryMetaMap, we should avoid updating the 
entryMetaMap if unnecessary.
   
   In `doGcEntryLogs` method, it iterate through the entryLogMetaMap and update 
the meta if ledgerNotExists. We should check whether the meta has been modified 
in `removeIfLedgerNotExists`. If not modified, we can avoid update the  
entryLogMetaMap.
   
   ### Modification
    1. Add a flag to represent whether the meta has been modified in 
`removeIfLedgerNotExists` method. If not, skip update the entryLogMetaMap.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to