* Add logging after taking a bank snapshot (#19891)
(cherry picked from commit 8e3c420414
)
* Fix conflict
Co-authored-by: Brooks Prumo <brooks@solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
@ -189,6 +189,12 @@ impl SnapshotRequestHandler {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
snapshot_time.stop();
|
snapshot_time.stop();
|
||||||
|
info!(
|
||||||
|
"Took bank snapshot. slot: {}, accounts hash: {}, bank hash: {}",
|
||||||
|
snapshot_root_bank.slot(),
|
||||||
|
snapshot_root_bank.get_accounts_hash(),
|
||||||
|
snapshot_root_bank.hash(),
|
||||||
|
);
|
||||||
|
|
||||||
// Cleanup outdated snapshots
|
// Cleanup outdated snapshots
|
||||||
let mut purge_old_snapshots_time = Measure::start("purge_old_snapshots_time");
|
let mut purge_old_snapshots_time = Measure::start("purge_old_snapshots_time");
|
||||||
|
Reference in New Issue
Block a user