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

(cherry picked from commit d69f469b83)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2021-07-08 02:53:08 +00:00
committed by GitHub
parent 1be989c5d2
commit 50393adadd

View File

@ -1116,7 +1116,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),
);
new.ancestors.insert(new.slot(), 0);