From 01da7a7046bbd3e0030c2595089801c5c56dfffa Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Thu, 6 Aug 2015 14:13:19 +0900 Subject: [PATCH] TODO WTF was I thinking here??.... --- src/machi_cr_client.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/machi_cr_client.erl b/src/machi_cr_client.erl index 38b44a4..786fe2c 100644 --- a/src/machi_cr_client.erl +++ b/src/machi_cr_client.erl @@ -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