Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
v1.14: demotes unknown_epoch_staked_nodes metric to debug (backport of
Browse files Browse the repository at this point in the history
…#32701) (#32712)

demotes unknown_epoch_staked_nodes metric to debug (#32701)

(cherry picked from commit b0a4669)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
  • Loading branch information
mergify[bot] and behzadnouri authored Aug 4, 2023
1 parent 72b53b1 commit ca3dc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/cluster_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ impl<T: 'static> ClusterNodesCache<T> {
.iter()
.find_map(|bank| bank.epoch_staked_nodes(epoch));
if epoch_staked_nodes.is_none() {
inc_new_counter_info!("cluster_nodes-unknown_epoch_staked_nodes", 1);
inc_new_counter_debug!("cluster_nodes-unknown_epoch_staked_nodes", 1);
if epoch != root_bank.get_leader_schedule_epoch(root_bank.slot()) {
return self.get(root_bank.slot(), root_bank, working_bank, cluster_info);
}
Expand Down

0 comments on commit ca3dc22

Please sign in to comment.