Skip to content

Commit

Permalink
treat initial vdisk status as ok
Browse files Browse the repository at this point in the history
  • Loading branch information
vporyadke committed Aug 22, 2024
1 parent c122675 commit 81c9a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/health_check/health_check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1984,9 +1984,9 @@ class TSelfCheckRequest : public TActorBootstrapped<TSelfCheckRequest> {

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,
Expand Down

0 comments on commit 81c9a88

Please sign in to comment.