Skip to content

Commit

Permalink
Remove the unused logs in the CleanupLedgerManager.recordPromise (#4121)
Browse files Browse the repository at this point in the history
---

### Motivation

In the cleanup ledger manager, we just record every future and remove
them when the future complete. Seems we don't need to print the logs
  • Loading branch information
zymap authored Nov 1, 2023
1 parent 61c03ad commit bf9a5cf
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ private void recordPromise(CompletableFuture<?> promise) {
futures.add(promise);
promise.whenComplete((result, exception) -> {
futures.remove(promise);
if (exception != null) {
log.error("Failed on operating ledger metadata: {}", BKException.getExceptionCode(exception));
}
});
}

Expand Down

0 comments on commit bf9a5cf

Please sign in to comment.