mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-30 04:37:27 +00:00
add logs
This commit is contained in:
parent
c2f2fbb934
commit
1bbe6127db
@ -278,6 +278,11 @@ impl FlowWrite for FlowStore {
|
|||||||
batch_list.push((chunk_index, batch));
|
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);
|
metrics::APPEND_ENTRIES.update_since(start_time);
|
||||||
let res = self.data_db.put_entry_batch_list(batch_list);
|
let res = self.data_db.put_entry_batch_list(batch_list);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user