Recovery Tests
Some initial entropy tests showing loss of data from a corrupted CDB file.
This commit is contained in:
parent
b18f7fd1c1
commit
73004328e1
4 changed files with 77 additions and 6 deletions
|
@ -249,7 +249,7 @@ handle_call({fetch, Key, SQN}, _From, State) ->
|
|||
{reply, {ok, Value}, State};
|
||||
Other ->
|
||||
io:format("Unexpected failure to fetch value for" ++
|
||||
"Key=~w SQN=~w with reason ~w", [Key, SQN, Other]),
|
||||
"Key=~w SQN=~w with reason ~w~n", [Key, SQN, Other]),
|
||||
{reply, not_present, State}
|
||||
end;
|
||||
handle_call({get, Key, SQN}, _From, State) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue