Rework 'remove_dead_slots_metadata: slots' info log message

This commit is contained in:
Michael Vines 2022-09-12 08:42:26 -07:00
parent d242c0fc97
commit 0bcd9134bc
1 changed files with 5 additions and 1 deletions

View File

@ -7892,7 +7892,11 @@ impl AccountsDb {
measure.stop();
accounts_index_root_stats.clean_dead_slot_us += measure.as_us();
if self.log_dead_slots.load(Ordering::Relaxed) {
info!("remove_dead_slots_metadata: slots {:?}", dead_slots);
info!(
"remove_dead_slots_metadata: {} dead slots",
dead_slots.len()
);
trace!("remove_dead_slots_metadata: dead_slots: {:?}", dead_slots);
}
accounts_index_root_stats.rooted_cleaned_count += rooted_cleaned_count;