We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bb861 commit 774754fCopy full SHA for 774754f
ydb/core/tx/columnshard/engines/storage/optimizer/lcbuckets/planner/level/common_level.h
@@ -59,7 +59,7 @@ class TOneLayerPortions: public IPortionsLevel {
59
if (!GetNextLevel()) {
60
return 0;
61
}
62
- if ((ui64)GetPortionsInfo().GetBlobBytes() > GetLevelBlobBytesLimit() && GetPortionsInfo().GetCount() > 2 &&
+ if ((ui64)GetPortionsInfo().GetBlobBytes() > GetLevelBlobBytesLimit() && GetPortionsInfo().GetCount() >= 2 &&
63
(ui64)GetPortionsInfo().GetBlobBytes() > ExpectedPortionSize * 2) {
64
return ((ui64)GetLevelId() << 48) + GetPortionsInfo().GetBlobBytes() - GetLevelBlobBytesLimit();
65
} else {
0 commit comments