Fix usage of checksum_list by machi_basho_bench_driver.erl

This commit is contained in:
Scott Lystig Fritchie 2015-07-01 15:03:56 +09:00
parent f5ae417b9e
commit 0321e05b46

View file

@ -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},