Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Spawn remote vnodes using start_link rather than start.

Mixed clusters do not have riak_kv_put_fsm:start()
  • Loading branch information...
commit da2e30a099f39a90ceb0c8542118dee6712c7bb7 1 parent 9408cbe
Jon Meredith jonmeredith authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/riak_kv_put_fsm.erl
2  src/riak_kv_put_fsm.erl
View
@@ -212,7 +212,7 @@ prepare(timeout, StateData0 = #state{from = From, robj = RObj,
?DTRACE(?C_PUT_FSM_PREPARE, [1],
["prepare", atom2list(CoordNode)]),
try
- proc_lib:spawn(CoordNode,riak_kv_put_fsm,start,[From,RObj,Options]),
+ proc_lib:spawn(CoordNode,riak_kv_put_fsm,start_link,[From,RObj,Options]),
?DTRACE(?C_PUT_FSM_PREPARE, [2],
["prepare", atom2list(CoordNode)]),
riak_kv_stat:update(coord_redir),
Please sign in to comment.
Something went wrong with that request. Please try again.