From 81c9a88b80ce7bd7662c06d5d4d38622f61dc628 Mon Sep 17 00:00:00 2001 From: Alexander Zalyalov Date: Thu, 22 Aug 2024 11:10:18 +0000 Subject: [PATCH] treat initial vdisk status as ok --- ydb/core/health_check/health_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/core/health_check/health_check.cpp b/ydb/core/health_check/health_check.cpp index 87f5ea9542df..680336fd686b 100644 --- a/ydb/core/health_check/health_check.cpp +++ b/ydb/core/health_check/health_check.cpp @@ -1984,9 +1984,9 @@ class TSelfCheckRequest : public TActorBootstrapped { switch (vDiskInfo.GetVDiskState()) { case NKikimrWhiteboard::EVDiskState::OK: + case NKikimrWhiteboard::EVDiskState::Initial: context.ReportStatus(Ydb::Monitoring::StatusFlag::GREEN); break; - case NKikimrWhiteboard::EVDiskState::Initial: case NKikimrWhiteboard::EVDiskState::SyncGuidRecovery: context.IssueRecords.clear(); context.ReportStatus(Ydb::Monitoring::StatusFlag::YELLOW,