Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Return at once with ref

  • Loading branch information...
commit 1a847bdf5a6ed13808e2e48946becbeebc7354b3 1 parent f89f576
Russell Brown russelldb authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/riakc_pb_socket.erl
3  src/riakc_pb_socket.erl
View
@@ -741,6 +741,7 @@ get_index_range(Pid, Bucket, Index, StartKey, EndKey, Opts) ->
return_terms=ReturnTerms,
max_results=MaxResults,
stream=Stream},
+
Call = case Stream of
true ->
ReqId = mk_reqid(),
@@ -1216,6 +1217,8 @@ after_send(#request{msg = #rpblistkeysreq{}, ctx = {ReqId, _Client}}, State) ->
{reply, {ok, ReqId}, State};
after_send(#request{msg = #rpbmapredreq{}, ctx = {ReqId, _Client}}, State) ->
{reply, {ok, ReqId}, State};
+after_send(#request{msg = #rpbindexreq{stream=true}, ctx = {ReqId, _Client}}, State) ->
+ {reply, {ok, ReqId}, State};
after_send(_Request, State) ->
{noreply, State}.
Please sign in to comment.
Something went wrong with that request. Please try again.