Commits

Anonymous committed dd1e00d

always stick around for at least one timeout cycle

Comments (0)

Files changed (1)

apps/riak/src/riak_vnode.erl

     case hometest(StateData0) of
         {next_state, StateName, StateData, Timeout} ->
             {ok, StateName, StateData, Timeout};
-        {stop,normal,_StateData} -> ignore
+        {stop,normal,StateData} ->
+            % always stick around for one timeout cycle
+            {ok, active, StateData, ?TIMEOUT}
     end.
 
 %% @private