Skip to content

Commit

Permalink
Fix deletedLedgers count (#4026)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3bf08fe)
  • Loading branch information
AnonHxy authored and hangc0276 committed Aug 17, 2023
1 parent 8f3e9a9 commit 2f3ab1c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ public void removeDeletedLedgers() throws IOException {
for (Long ledgerId : pendingDeletedLedgers) {
key.set(ledgerId);
ledgersDb.delete(key.array);
++deletedLedgers;
}

if (log.isDebugEnabled()) {
Expand Down

0 comments on commit 2f3ab1c

Please sign in to comment.