Bug: corfurl:read_repair_chain() should use trim when it encounters error_trimmed
This commit is contained in:
parent
fd32bcb308
commit
370c57b78a
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ read_repair_chain(Epoch, LPN, [Head|Rest] = Chain) ->
|
|||
error_badepoch;
|
||||
error_trimmed ->
|
||||
%% TODO: robustify
|
||||
[ok = case corfurl_flu:fill(flu_pid(X), Epoch, LPN) of
|
||||
[ok = case corfurl_flu:trim(flu_pid(X), Epoch, LPN) of
|
||||
ok -> ok;
|
||||
error_trimmed -> ok;
|
||||
Else -> Else
|
||||
|
|
Loading…
Reference in a new issue