Add error logging to dead slots (#7000) (#7001)

automerge
This commit is contained in:
mergify[bot]
2019-11-16 03:22:13 -08:00
committed by Grimes
parent cac5d9005c
commit 7dd6ceeb49
2 changed files with 6 additions and 2 deletions

View File

@@ -480,7 +480,11 @@ impl ReplayStage {
bank.slot(),
replay_result
);
datapoint_warn!("replay-stage-mark_dead_slot", ("slot", bank.slot(), i64),);
datapoint_error!(
"replay-stage-mark_dead_slot",
("error", format!("error: {:?}", replay_result), String),
("slot", bank.slot(), i64)
);
Self::mark_dead_slot(bank.slot(), blocktree, progress);
}