From b490e52f0227ac221f1833564fcbb06152e4b3d2 Mon Sep 17 00:00:00 2001 From: Ashwin Sekar Date: Tue, 20 Feb 2024 16:13:57 -0800 Subject: [PATCH] validator: include waited_for_supermajority in startup metric (#35137) (cherry picked from commit b0134ab04da4a8774e4f6d681d5ecbb5dba9a455) # Conflicts: # core/src/validator.rs --- core/src/validator.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/validator.rs b/core/src/validator.rs index 550c1cd1c809e5..4d654657b61d4b 100644 --- a/core/src/validator.rs +++ b/core/src/validator.rs @@ -1327,7 +1327,13 @@ impl Validator { "validator-new", ("id", id.to_string(), String), ("version", solana_version::version!(), String), +<<<<<<< HEAD ("cluster_type", cluster_type as u32, i64), +======= + ("cluster_type", genesis_config.cluster_type as u32, i64), + ("waited_for_supermajority", waited_for_supermajority, bool), + ("expected_shred_version", config.expected_shred_version, Option), +>>>>>>> b0134ab04d (validator: include waited_for_supermajority in startup metric (#35137)) ); *start_progress.write().unwrap() = ValidatorStartProgress::Running;