Add error logging to dead slots (#7000)
This commit is contained in:
parent
7c32640a9b
commit
70322d1ff8
|
@ -488,7 +488,11 @@ impl ReplayStage {
|
||||||
bank.slot(),
|
bank.slot(),
|
||||||
replay_result
|
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);
|
Self::mark_dead_slot(bank.slot(), blocktree, progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4109,7 +4109,7 @@
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT host_id, slot FROM \"$testnet\".\"autogen\".\"replay-stage-mark_dead_slot\" WHERE $timeFilter ORDER BY time DESC ",
|
"query": "SELECT host_id, error, slot FROM \"$testnet\".\"autogen\".\"replay-stage-mark_dead_slot\" WHERE $timeFilter ORDER BY time DESC ",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "table",
|
"resultFormat": "table",
|
||||||
|
|
Loading…
Reference in New Issue