Gadz, more sequencer cleanup. corfurl_test now passes
This commit is contained in:
parent
30fc62ab22
commit
03f071316c
1 changed files with 2 additions and 1 deletions
|
@ -39,9 +39,10 @@ append_page(Proj, Page, StreamList) ->
|
||||||
|
|
||||||
append_page(Proj, _Page, _StreamList, 0) ->
|
append_page(Proj, _Page, _StreamList, 0) ->
|
||||||
{{error_failed, ?MODULE, ?LINE}, Proj};
|
{{error_failed, ?MODULE, ?LINE}, Proj};
|
||||||
|
%% TODO: remove _StreamList arg entirely?
|
||||||
append_page(#proj{seq={Sequencer,_,_}} = Proj, Page, StreamList, Retries) ->
|
append_page(#proj{seq={Sequencer,_,_}} = Proj, Page, StreamList, Retries) ->
|
||||||
try
|
try
|
||||||
{ok, LPN} = corfurl_sequencer:get(Sequencer, 1, StreamList),
|
{ok, LPN} = corfurl_sequencer:get(Sequencer, 1),
|
||||||
pulse_tracing_add(write, LPN),
|
pulse_tracing_add(write, LPN),
|
||||||
append_page1(Proj, LPN, Page, StreamList, 5)
|
append_page1(Proj, LPN, Page, StreamList, 5)
|
||||||
catch
|
catch
|
||||||
|
|
Loading…
Reference in a new issue