Skip to content

Commit

Permalink
fix(meta): collect meta node count as worker node (#13338)
Browse files Browse the repository at this point in the history
  • Loading branch information
tabVersion authored Nov 9, 2023
1 parent 117f14c commit 492076f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/meta/src/manager/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -697,10 +697,11 @@ impl ClusterManagerCore {
}

fn count_worker_node(&self) -> HashMap<WorkerType, u64> {
const MONITORED_WORKER_TYPES: [WorkerType; 3] = [
const MONITORED_WORKER_TYPES: [WorkerType; 4] = [
WorkerType::Compactor,
WorkerType::ComputeNode,
WorkerType::Frontend,
WorkerType::Meta,
];
let mut ret = HashMap::new();
self.workers
Expand Down

0 comments on commit 492076f

Please sign in to comment.