Skip to content

Commit

Permalink
v1.18: validator: include waited_for_supermajority in startup metric …
Browse files Browse the repository at this point in the history
…(backport of #35137) (#35277)

validator: include waited_for_supermajority in startup metric (#35137)

(cherry picked from commit b0134ab)

Co-authored-by: Ashwin Sekar <[email protected]>
  • Loading branch information
mergify[bot] and AshwinSekar authored Feb 21, 2024
1 parent 2bbc654 commit 8578d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,8 @@ impl Validator {
("id", id.to_string(), String),
("version", solana_version::version!(), String),
("cluster_type", genesis_config.cluster_type as u32, i64),
("waited_for_supermajority", waited_for_supermajority, bool),
("expected_shred_version", config.expected_shred_version, Option<i64>),
);

*start_progress.write().unwrap() = ValidatorStartProgress::Running;
Expand Down

0 comments on commit 8578d0b

Please sign in to comment.