Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ethqunzhong committed Aug 20, 2024
1 parent 0a24395 commit bc971e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -700,14 +700,14 @@ private void fillReadAheadCache(long originalLedgerId, long firstEntryId, long f
}
dbLedgerStorageStats.getReadAheadBatchCountStats().registerSuccessfulValue(count);
dbLedgerStorageStats.getReadAheadBatchSizeStats().registerSuccessfulValue(size);
recordSuccessfulEvent(dbLedgerStorageStats.getReadAheadTime(),readAheadStartNano);
recordSuccessfulEvent(dbLedgerStorageStats.getReadAheadTime(), readAheadStartNano);
} catch (Exception e) {
if (log.isDebugEnabled()) {
log.debug("Exception during read ahead for ledger: {}: e", originalLedgerId, e);
}
dbLedgerStorageStats.getReadAheadBatchCountStats().registerFailedValue(count);
dbLedgerStorageStats.getReadAheadBatchSizeStats().registerFailedValue(size);
recordFailedEvent(dbLedgerStorageStats.getReadAheadTime(),readAheadStartNano);
recordFailedEvent(dbLedgerStorageStats.getReadAheadTime(), readAheadStartNano);
}
}

Expand Down

0 comments on commit bc971e5

Please sign in to comment.