Skip to content

Commit 7b8a45e

Browse files
committed
[Storage] Move log out of loop in StateSnapshotCommitter
It should only be logged once instead of every time a message is received.
1 parent ac16a37 commit 7b8a45e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/aptosdb/src/state_store/state_snapshot_committer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use crate::{
1414
versioned_node_cache::VersionedNodeCache,
1515
};
1616
use aptos_experimental_runtimes::thread_manager::THREAD_MANAGER;
17-
use aptos_logger::trace;
17+
use aptos_logger::info;
1818
use aptos_metrics_core::TimerHelper;
1919
use aptos_storage_interface::{
2020
jmt_update_refs, state_store::state_with_summary::StateWithSummary, Result,
@@ -201,8 +201,8 @@ impl StateSnapshotCommitter {
201201
break;
202202
},
203203
}
204-
trace!("State snapshot committing thread exit.")
205204
}
205+
info!("State snapshot committing thread exit.");
206206
}
207207
}
208208

0 commit comments

Comments
 (0)