Skip to content

Commit

Permalink
fix bug in throttling by log chunk count (#13734)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexd65536 authored Jan 22, 2025
1 parent f6b23bc commit bb43dfd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bb43dfd

Please sign in to comment.