Skip to content

Commit

Permalink
fix pendingDeletedLedgers not remove ledger
Browse files Browse the repository at this point in the history
  • Loading branch information
fanjianye committed Nov 15, 2024
1 parent af8baa1 commit 495513d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ public void removeDeletedLedgers() throws IOException {
log.debug("Persisting deletes of ledgers {}", deletedLedgers);
}

pendingDeletedLedgers.clear();
ledgersDb.sync();
} finally {
key.recycle();
Expand Down

0 comments on commit 495513d

Please sign in to comment.