Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1151,14 +1151,17 @@ public void run() {
journalFlushWatcher.stop().elapsed(TimeUnit.NANOSECONDS), TimeUnit.NANOSECONDS);

// Trace the lifetime of entries through persistence
for (QueueEntry e : toFlush) {
if (e != null) {
log.debug()
.attr("ledgerId", e.ledgerId)
.attr("entryId", e.entryId)
.log("Written and queuing for flush");
RecyclableArrayList<QueueEntry> flushedEntries = toFlush;
log.debug(e -> {
for (QueueEntry entry : flushedEntries) {
if (entry != null) {
log.debug()
.attr("ledgerId", entry.ledgerId)
.attr("entryId", entry.entryId)
.log("Written and queuing for flush");
}
}
}
});

journalStats.getForceWriteBatchEntriesStats()
.registerSuccessfulValue(numEntriesToFlush);
Expand Down
Loading