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
|
@ -314,6 +314,8 @@ handle_call({get, Bucket, Key, Tag}, _From, State) ->
|
|||
Active = TS >= leveled_codec:integer_now(),
|
||||
case {Active,
|
||||
fetch_value(LedgerKey, Seqn, State#state.inker)} of
|
||||
{_, not_present} ->
|
||||
{reply, not_found, State};
|
||||
{true, Object} ->
|
||||
{reply, {ok, Object}, State};
|
||||
_ ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue