diff options
| author | Aleksandr Dmitriev <[email protected]> | 2025-01-22 20:23:13 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-22 20:23:13 +0300 |
| commit | bb43dfda86cc5fff808ddfdec409c983c6099a16 (patch) | |
| tree | a9a277556f4333308e9fb3aa399c5ea097aa6a74 | |
| parent | f6b23bc6585a0608f1707382d610f093598ca783 (diff) | |
fix bug in throttling by log chunk count (#13734)
| -rw-r--r-- | ydb/core/blobstorage/vdisk/skeleton/skeleton_overload_handler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/core/blobstorage/vdisk/skeleton/skeleton_overload_handler.cpp b/ydb/core/blobstorage/vdisk/skeleton/skeleton_overload_handler.cpp index d444f1a370d..17b23286657 100644 --- a/ydb/core/blobstorage/vdisk/skeleton/skeleton_overload_handler.cpp +++ b/ydb/core/blobstorage/vdisk/skeleton/skeleton_overload_handler.cpp @@ -262,10 +262,12 @@ namespace NKikimr { ui64 minSstCount = (ui64)VCfg->ThrottlingMinSstCount; ui64 minInplacedSize = (ui64)VCfg->ThrottlingMinInplacedSize; ui64 minOccupancy = (ui64)VCfg->ThrottlingMinOccupancyPerMille * 1000; + ui64 minLogChunkCount = (ui64)VCfg->ThrottlingMinLogChunkCount; return CurrentSstCount > minSstCount || CurrentInplacedSize > minInplacedSize || - CurrentOccupancy > minOccupancy; + CurrentOccupancy > minOccupancy || + CurrentLogChunkCount > minLogChunkCount; } TDuration BytesToDuration(ui64 bytes) const { |
