Commits

dizzyd  committed dc75043

riak_get_fsm was not exiting if # of responses threshold not met; on timeout we need to finish up regardless of # of responses.

  • Participants
  • Parent commits a5032fe

Comments (0)

Files changed (1)

File apps/riak/src/riak_get_fsm.erl

                   StateData=#state{req_id=ReqId,replied_fail=Replied0}) ->
     finalize(StateData#state{replied_fail=[{Err,Idx}|Replied0]});
 waiting_read_repair(timeout, StateData) ->
-    finalize(StateData).
+    really_finalize(StateData).
 
 finalize(StateData=#state{replied_r=R,replied_fail=F,replied_notfound=NF, n=N}) ->
     case (length(R) + length(F) + length(NF)) >= N of