From 5b2409779034cdf7328efaa669d21e7de9f04e97 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:51:44 -0800 Subject: [PATCH] v1.17: validator: include waited_for_supermajority in startup metric (backport of #35137) (#35276) * validator: include waited_for_supermajority in startup metric (#35137) (cherry picked from commit b0134ab04da4a8774e4f6d681d5ecbb5dba9a455) # Conflicts: # core/src/validator.rs * fix conflicts --------- Co-authored-by: Ashwin Sekar --- core/src/validator.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/validator.rs b/core/src/validator.rs index 550c1cd1c809e5..62ef6fe37620bc 100644 --- a/core/src/validator.rs +++ b/core/src/validator.rs @@ -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), ); *start_progress.write().unwrap() = ValidatorStartProgress::Running;