File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
ydb/core/blobstorage/vdisk Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ public:
477477 // /////////////////////////////////////////////////////////////////////////////////
478478 class TLsmAllLevelsStat {
479479 public:
480- static constexpr ui32 MaxCounterLevels = 20 ;
480+ static constexpr ui32 MaxCounterLevels = 24 ;
481481
482482 TIntrusivePtr<::NMonitoring::TDynamicCounters> Group;
483483 // per-level information
Original file line number Diff line number Diff line change @@ -492,7 +492,9 @@ namespace NKikimr {
492492 for (const auto & seg : level.Segs ->Segments ) {
493493 process (info, seg.Get ());
494494 }
495- ++levelIndex;
495+ if (++levelIndex >= NMonGroup::TLsmAllLevelsStat::MaxCounterLevels) {
496+ break ;
497+ }
496498 }
497499
498500 AllLevelsDataInplaced = allLevelsDataInplaced;
You can’t perform that action at this time.
0 commit comments