From 0321e05b4649560c81ff661cbed95d704723f13d Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Wed, 1 Jul 2015 15:03:56 +0900 Subject: [PATCH] Fix usage of checksum_list by machi_basho_bench_driver.erl --- src/machi_basho_bench_driver.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/machi_basho_bench_driver.erl b/src/machi_basho_bench_driver.erl index 6fd4b59..209e417 100644 --- a/src/machi_basho_bench_driver.erl +++ b/src/machi_basho_bench_driver.erl @@ -135,7 +135,8 @@ find_server_info(_Id) -> load_ets_table(Conn, ETS) -> {ok, Fs} = machi_cr_client:list_files(Conn), [begin - {ok, PosList} = machi_cr_client:checksum_list(Conn, File), + {ok, InfoBin} = machi_cr_client:checksum_list(Conn, File), + {PosList, _} = machi_flu1:split_checksum_list_blob_decode(InfoBin), StartKey = ets:update_counter(ETS, max_key, 0), %% _EndKey = lists:foldl(fun({Off,Sz,CSum}, K) -> %% V = {File, Off, Sz, CSum},