Skip to content

Commit

Permalink
remove unused local variable in ManagedLedgerImpl (apache#13115)
Browse files Browse the repository at this point in the history
  • Loading branch information
HQebupt authored Dec 14, 2021
1 parent 6df01ba commit 1891f6e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2425,7 +2425,6 @@ void internalTrimLedgers(boolean isTruncate, CompletableFuture<?> promise) {
}

long totalSizeToDelete = 0;
boolean retentionSizeQuotaMet = false;
// skip ledger if retention constraint met
for (LedgerInfo ls : ledgers.headMap(slowestReaderLedgerId, false).values()) {
// currentLedger can not be deleted
Expand Down

0 comments on commit 1891f6e

Please sign in to comment.