From cf149c47cdaf410835ad86d8d8548a3457b08e1b Mon Sep 17 00:00:00 2001 From: yzq <58433399+yangzq50@users.noreply.github.com> Date: Fri, 24 Jan 2025 18:31:29 +0800 Subject: [PATCH] add debug info for merge index --- src/storage/meta/entry/segment_index_entry.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/storage/meta/entry/segment_index_entry.cpp b/src/storage/meta/entry/segment_index_entry.cpp index ca2087c861..5e3cfd5ab8 100644 --- a/src/storage/meta/entry/segment_index_entry.cpp +++ b/src/storage/meta/entry/segment_index_entry.cpp @@ -658,11 +658,13 @@ void SegmentIndexEntry::GetChunkIndexEntries(Vector> for (SizeT i = 0; i < num; i++) { auto &chunk_index_entry = chunk_index_entries_[i]; bool add = chunk_index_entry->CheckVisible(txn); - LOG_INFO(fmt::format("GetChunkIndexEntries, CheckVisible ret: {}, chunk_id: {}, deprecate ts: {}, txn_id: {}", + LOG_INFO(fmt::format("GetChunkIndexEntries, CheckVisible ret: {}, chunk_id: {}, deprecate ts: {}, txn_id: {}, base_rowid: {}, row_count: {}", add, chunk_index_entry->chunk_id_, chunk_index_entry->deprecate_ts_.load(), - txn_id_str)); + txn_id_str, + chunk_index_entry->base_rowid_.ToString(), + chunk_index_entry->row_count_)); if (add) { chunk_index_entries.push_back(chunk_index_entry); }