Skip to content

Commit

Permalink
Merge 71b6883 into 502820a
Browse files Browse the repository at this point in the history
  • Loading branch information
robdrynkin authored Apr 15, 2024
2 parents 502820a + 71b6883 commit 51b4f97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ydb/core/blobstorage/vdisk/common/vdisk_response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ void LogOOSStatus(ui32 flags, const TLogoBlobID& blobId, const TString& vDiskLog
if (!TlsActivationContext) {
return;
}
if (!(flags & NKikimrBlobStorage::StatusIsValid)) {
return;
}

ui32 prevFlags = curFlags.exchange(flags, std::memory_order_relaxed);
if (prevFlags == flags) {
Expand All @@ -87,6 +90,9 @@ void UpdateMonOOSStatus(ui32 flags, const std::shared_ptr<NMonGroup::TOutOfSpace
if (!monGroup) {
return;
}
if (!(flags & NKikimrBlobStorage::StatusIsValid)) {
return;
}

if (flags & NKikimrBlobStorage::StatusDiskSpaceRed) {
monGroup->ResponsesWithDiskSpaceRed().Inc();
Expand Down

0 comments on commit 51b4f97

Please sign in to comment.