Skip to content

Commit 39aead8

Browse files
committed
do not look at active/inactive pdisk status in healthchceck
1 parent 2092cd6 commit 39aead8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ydb/core/health_check/health_check.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,12 +1715,9 @@ class TSelfCheckRequest : public TActorBootstrapped<TSelfCheckRequest> {
17151715
ETags::PDiskState);
17161716
}
17171717
switch (status->number()) {
1718-
case NKikimrBlobStorage::ACTIVE: {
1719-
context.ReportStatus(Ydb::Monitoring::StatusFlag::GREEN);
1720-
break;
1721-
}
1718+
case NKikimrBlobStorage::ACTIVE:
17221719
case NKikimrBlobStorage::INACTIVE: {
1723-
context.ReportStatus(Ydb::Monitoring::StatusFlag::YELLOW, "PDisk is inactive", ETags::PDiskState);
1720+
context.ReportStatus(Ydb::Monitoring::StatusFlag::GREEN);
17241721
break;
17251722
}
17261723
case NKikimrBlobStorage::FAULTY:

0 commit comments

Comments
 (0)