This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new 15592c4d7 fix(event): should log reason string instead of id in
EventListener::OnFlushCompleted (#3012)
15592c4d7 is described below
commit 15592c4d729ef0bba19a3081ecc953604f29deb7
Author: Ryan Liao <[email protected]>
AuthorDate: Wed Jun 4 21:20:37 2025 -0400
fix(event): should log reason string instead of id in
EventListener::OnFlushCompleted (#3012)
---
src/storage/event_listener.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/storage/event_listener.cc b/src/storage/event_listener.cc
index 1c8f48f37..45cc59a0e 100644
--- a/src/storage/event_listener.cc
+++ b/src/storage/event_listener.cc
@@ -132,7 +132,7 @@ void EventListener::OnFlushCompleted([[maybe_unused]]
rocksdb::DB *db, const roc
info(
"[event_listener/flush_completed] column family: {}, thread_id: {},
job_id: {}, file: {}, reason: {}, "
"is_write_slowdown: {}, is_write_stall: {}, largest seqno: {}, smallest
seqno: {}",
- fi.cf_name, fi.thread_id, fi.job_id, fi.file_path,
static_cast<int>(fi.flush_reason),
+ fi.cf_name, fi.thread_id, fi.job_id, fi.file_path,
rocksdb::GetFlushReasonString(fi.flush_reason),
fi.triggered_writes_slowdown ? "yes" : "no", fi.triggered_writes_stop ?
"yes" : "no", fi.largest_seqno,
fi.smallest_seqno);
}