Add repair breakdown by slot and index (#10717)

* Slot full logging

* Repair stats logging

Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
carllin
2020-06-19 18:28:15 -07:00
committed by GitHub
parent cae22efd0e
commit a33fef9af2
3 changed files with 75 additions and 30 deletions

View File

@ -1125,6 +1125,12 @@ impl Blockstore {
new_consumed,
shred.reference_tick(),
);
if slot_meta.is_full() {
info!(
"slot {} is full, last: {}",
slot_meta.slot, slot_meta.last_index
);
}
data_index.set_present(index, true);
trace!("inserted shred into slot {:?} and index {:?}", slot, index);
Ok(())