aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew-rykov <arykov@ydb.tech>2023-11-01 00:15:52 +0300
committerandrew-rykov <arykov@ydb.tech>2023-11-01 00:30:54 +0300
commitefa0dc49696c6961182a51dd04dd1abb1311e59c (patch)
tree15105a45af6281b957ad6c8fa894416ce368ad4c
parent883800b6de81b225719bf3dbf0bbc7a750175edc (diff)
downloadydb-efa0dc49696c6961182a51dd04dd1abb1311e59c.tar.gz
no reason for database issue without compute nodes
-rw-r--r--ydb/core/health_check/health_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/health_check/health_check.cpp b/ydb/core/health_check/health_check.cpp
index 9178b76dcb..5549cd3530 100644
--- a/ydb/core/health_check/health_check.cpp
+++ b/ydb/core/health_check/health_check.cpp
@@ -1297,7 +1297,7 @@ public:
std::sort(computeNodeIds->begin(), computeNodeIds->end());
computeNodeIds->erase(std::unique(computeNodeIds->begin(), computeNodeIds->end()), computeNodeIds->end());
if (computeNodeIds->empty()) {
- context.ReportStatus(Ydb::Monitoring::StatusFlag::RED, "There are no compute nodes");
+ context.ReportStatus(Ydb::Monitoring::StatusFlag::RED, "There are no compute nodes", ETags::ComputeState);
} else {
Ydb::Monitoring::StatusFlag::Status systemStatus = FillSystemTablets({&context, "SYSTEM_TABLET"});
if (systemStatus != Ydb::Monitoring::StatusFlag::GREEN && systemStatus != Ydb::Monitoring::StatusFlag::GREY) {