Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/riakc_pb_socket.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2771,12 +2771,11 @@ process_response(#request{msg = #rpbaaefoldfindkeysreq{}},
{ok, {keys, lists:map(fun unpack_keycount_fun/1, KeysCount)}},
State};
process_response(#request{msg = #rpbaaefoldfindtombsreq{}},
#rpbaaefoldkeycountresp{keys_count = KeysDH},
#rpbaaefoldkeyvalueresp{response_type = <<"clock">>} = Rsp,
State) ->
%% In this case the integer value in each entry is not a count but a
%% delete hash
KeysNClocks = Rsp#rpbaaefoldkeyvalueresp.keys_value,
{reply,
{ok, {keys, lists:map(fun unpack_keycount_fun/1, KeysDH)}},
{ok, {keysclocks, lists:map(fun unpack_keyclock_fun/1, KeysNClocks)}},
State};
process_response(#request{msg = #rpbaaefoldreaptombsreq{}},
#rpbaaefoldkeycountresp{response_type = ReapTag,
Expand Down