Expanded AAE tests to include busted hashtable
Busted the hashtable in a Journal file, and demonstrated it can be fixed by changing the extension name (no need to recover from backup if only the hashtable is bust)
This commit is contained in:
parent
e8a7888397
commit
37e78dcdc9
3 changed files with 97 additions and 11 deletions
|
@ -546,8 +546,9 @@ open_all_manifest(Man0, RootPath, CDBOpts) ->
|
|||
Pid} = leveled_cdb:cdb_open_reader(CFN),
|
||||
{LowSQN, FN, Pid};
|
||||
false ->
|
||||
{ok,
|
||||
Pid} = leveled_cdb:cdb_open_reader(PFN),
|
||||
W = leveled_cdb:cdb_open_writer(PFN, CDBOpts),
|
||||
{ok, Pid} = W,
|
||||
ok = leveled_cdb:cdb_roll(Pid),
|
||||
{LowSQN, FN, Pid}
|
||||
end;
|
||||
_ ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue