Fix removing worker will make it healthy forever in prometheus metrics (#14420)
This commit is contained in:
@@ -150,6 +150,9 @@ impl WorkerRegistry {
|
||||
conn_workers.retain(|id| id != worker_id);
|
||||
}
|
||||
|
||||
// TODO we may even remove it from Prometheus exports
|
||||
worker.set_healthy(false);
|
||||
|
||||
Some(worker)
|
||||
} else {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user