From 4326c48e9767a941f8c535173163555295375176 Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Mon, 24 Nov 2025 18:43:20 +0800 Subject: [PATCH] remove log --- common/append_merkle/src/lib.rs | 2 -- node/storage/src/log_store/flow_store.rs | 26 ------------------------ 2 files changed, 28 deletions(-) diff --git a/common/append_merkle/src/lib.rs b/common/append_merkle/src/lib.rs index cddafaa..361b550 100644 --- a/common/append_merkle/src/lib.rs +++ b/common/append_merkle/src/lib.rs @@ -309,8 +309,6 @@ impl> AppendMerkleTree { /// Panics if the leaf is already set and different or the index is out of range. /// TODO: Batch computing intermediate nodes. pub fn fill_leaf(&mut self, index: usize, leaf: E) { - // print node leaf at 12288 index - if leaf.is_null() { // fill leaf with null is not allowed. } else if self.node(0, index).is_null() { diff --git a/node/storage/src/log_store/flow_store.rs b/node/storage/src/log_store/flow_store.rs index 9e2d91f..9ffc073 100644 --- a/node/storage/src/log_store/flow_store.rs +++ b/node/storage/src/log_store/flow_store.rs @@ -234,19 +234,6 @@ impl FlowWrite for FlowStore { bail!("append_entries: invalid data size, len={}", data.data.len()); } - let batch_data_12288 = self - .data_db - .get_entry_batch(12288)? - .unwrap_or_else(|| EntryBatch::new(12288)); - - debug!( - "Entry batch data at 12288 before insert: {:?}", - batch_data_12288 - ); - if let Some(unsealed_data) = batch_data_12288.to_unsealed_data() { - debug!("Unsealed data before insert: {:?}", unsealed_data); - } - let mut batch_list = Vec::new(); for (start_entry_index, end_entry_index) in batch_iter( data.start_index, @@ -294,19 +281,6 @@ impl FlowWrite for FlowStore { metrics::APPEND_ENTRIES.update_since(start_time); let res = self.data_db.put_entry_batch_list(batch_list); - let batch_data_12288 = self - .data_db - .get_entry_batch(12288)? - .unwrap_or_else(|| EntryBatch::new(12288)); - - debug!( - "Entry batch data at 12288 after insert: {:?}", - batch_data_12288 - ); - if let Some(unsealed_data) = batch_data_12288.to_unsealed_data() { - debug!("Unsealed data after insert: {:?}", unsealed_data); - } - res }