Fix for hanoi store recovery
If we're opening a hanoi store configured with smaller nursery size than the default, then we need to make sure that we also open the small levels. Future feature is to actually squash the smaller levels.
This commit is contained in:
parent
8b725cceaa
commit
755788ecfb
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ open_levels(Dir,Options) ->
|
||||||
{Level, NextMax}
|
{Level, NextMax}
|
||||||
end,
|
end,
|
||||||
{undefined, 0},
|
{undefined, 0},
|
||||||
lists:seq(MaxLevel, ?TOP_LEVEL, -1)),
|
lists:seq(MaxLevel, min(?TOP_LEVEL, MinLevel), -1)),
|
||||||
|
|
||||||
%% we need to do this much merge work before we can guarantee
|
%% we need to do this much merge work before we can guarantee
|
||||||
%% response times ... this is the amount of "in flight" merging
|
%% response times ... this is the amount of "in flight" merging
|
||||||
|
|
Loading…
Reference in a new issue