Skip to content

Commit 31a1edb

Browse files
authored
Discard unknown metrics in BSC (#18562)
2 parents 77feb49 + ee11959 commit 31a1edb

File tree

1 file changed

+1
-0
lines changed
  • ydb/core/mind/bscontroller

1 file changed

+1
-0
lines changed

ydb/core/mind/bscontroller/impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ class TBlobStorageController : public TActor<TBlobStorageController>, public TTa
280280
const ui64 allocatedSizeBefore = Metrics.GetAllocatedSize();
281281
const ui32 prevStatusFlags = Metrics.GetStatusFlags();
282282
Metrics.MergeFrom(vDiskMetrics);
283+
Metrics.DiscardUnknownFields();
283284
MetricsDirty = true;
284285
UpdateVDiskMetrics();
285286
*allocatedSizeIncrementPtr = Metrics.GetAllocatedSize() - allocatedSizeBefore;

0 commit comments

Comments
 (0)