From 1bbe6127db015987c35c52d565e92a0231c69b33 Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Thu, 20 Nov 2025 22:07:27 +0800 Subject: [PATCH] add logs --- node/storage/src/log_store/flow_store.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/node/storage/src/log_store/flow_store.rs b/node/storage/src/log_store/flow_store.rs index 764a172..94d7863 100644 --- a/node/storage/src/log_store/flow_store.rs +++ b/node/storage/src/log_store/flow_store.rs @@ -278,6 +278,11 @@ impl FlowWrite for FlowStore { batch_list.push((chunk_index, batch)); } + // print which indexes are being pushed to batch_list + for (chunk_index, _) in &batch_list { + debug!("Preparing to insert chunk at index: {}", chunk_index); + } + metrics::APPEND_ENTRIES.update_since(start_time); let res = self.data_db.put_entry_batch_list(batch_list);