Record parent slot to reconstruct fork tree from influxdb (#18482) (#18488)

(cherry picked from commit d69f469b83)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2021-07-07 17:42:03 +00:00
committed by GitHub
parent 5321463892
commit c98ab6c6dc

View File

@ -1229,7 +1229,8 @@ impl Bank {
datapoint_info!(
"bank-new_from_parent-heights",
("slot_height", slot, i64),
("block_height", new.block_height, i64)
("block_height", new.block_height, i64),
("parent_slot_height", parent.slot(), i64),
);
let mut ancestors = Vec::with_capacity(1 + new.parents().len());