hangc0276 commented on code in PR #3646:
URL: https://github.com/apache/bookkeeper/pull/3646#discussion_r1022835583


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/storage/ldb/EntryLocationIndex.java:
##########
@@ -254,7 +254,7 @@ public void removeOffsetFromDeletedLedgers() throws 
IOException {
                     ++deletedEntries;
                 }
 
-                if (deletedEntriesInBatch > DELETE_ENTRIES_BATCH_SIZE) {
+                if (deletedEntriesInBatch > deleteEntriesBatchSize) {
                     batch.flush();
                     batch.clear();
                     deletedEntriesInBatch = 0;

Review Comment:
   `deletedEntries=0` is a bug in the log, we have fixed it in the master 
branch.



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