TODO WTF was I thinking here??....

This commit is contained in:
Scott Lystig Fritchie 2015-08-06 14:13:19 +09:00
parent dcf532bafd
commit 01da7a7046

View file

@ -571,6 +571,7 @@ read_repair(ConsistencyMode, ReturnMode, File, Offset, Size, Depth,
read_repair2(cp_mode=ConsistencyMode,
ReturnMode, File, Offset, Size, Depth, STime,
#state{proj=P, epoch_id=EpochID, proxies_dict=PD}=S) ->
%% TODO WTF was I thinking here??....
Tail = lists:last(readonly_flus(P)),
case ?FLU_PC:read_chunk(orddict:fetch(Tail, PD), EpochID,
File, Offset, Size, ?TIMEOUT) of