Skip to content

Commit

Permalink
v1.17: validator: include waited_for_supermajority in startup metric …
Browse files Browse the repository at this point in the history
…(backport of solana-labs#35137) (solana-labs#35276)

* validator: include waited_for_supermajority in startup metric (solana-labs#35137)

(cherry picked from commit b0134ab)

# Conflicts:
#	core/src/validator.rs

* fix conflicts

---------

Co-authored-by: Ashwin Sekar <[email protected]>
  • Loading branch information
mergify[bot] and AshwinSekar authored Feb 22, 2024
1 parent 07b69c9 commit 5b24097
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 @@ -1328,6 +1328,8 @@ impl Validator {
("id", id.to_string(), String),
("version", solana_version::version!(), String),
("cluster_type", 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 5b24097

Please sign in to comment.