Add replay-stage-mark_dead_slot datapoint (#5907)

This commit is contained in:
Michael Vines 2019-09-14 08:50:53 -07:00 committed by GitHub
parent e1f4e8a84a
commit 84c8a5bbec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -381,6 +381,7 @@ impl ReplayStage {
bank.slot(),
result
);
datapoint_warn!("replay-stage-mark_dead_slot", ("slot", bank.slot(), i64),);
Self::mark_dead_slot(bank.slot(), blocktree, progress);
}
@ -705,7 +706,7 @@ impl ReplayStage {
last_entry: &Hash,
) -> Result<()> {
if !entries.verify(last_entry) {
trace!(
warn!(
"entry verification failed {} {} {} {}",
entries.len(),
bank.tick_height(),