提交 bab6e9ea 编写于 作者: A Alexey Milovidov

MergeSelector: development [#METR-21840].

上级 1b2bbcd3
......@@ -53,8 +53,8 @@ void selectWithinPartition(
if (parts.back().age > settings.lower_base_after)
{
actual_base -= log2(parts.back().age - settings.lower_base_after);
if (actual_base < 1)
actual_base = 1;
if (actual_base < 2)
actual_base = 2;
}
if (parts.size() < actual_base)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册