Commits

Anonymous committed 2fda45d Merge

merge

Comments (0)

Files changed (2)

src/riak_vnode.erl

             From,State=#state{mod=Mod,modstate=ModState}) ->
     async_get_binary(From,Storekey,Mod,ModState),
     {noreply, State};
-handle_call({put_binary,Storekey,Val},
-            From,State=#state{mod=Mod,modstate=ModState}) ->
-    async_put_binary(From,Storekey,Val,Mod,ModState),
-    {noreply, State};
 handle_call(list,From,State=#state{mod=Mod,modstate=ModState}) ->
     async_do_list(From,Mod,ModState),
     {noreply, State}.
                   gen_server2:reply(From, RetVal)
           end).
 
-async_put_binary(From,Storekey,Val,Mod,ModState) ->
-    spawn(fun() ->
-                  RetVal = simple_binary_put(Storekey,Val,Mod,ModState),
-                  gen_server2:reply(From, RetVal)
-          end).
-
 async_do_list(From,Mod,ModState) ->
     spawn(fun() ->
                   RetVal = Mod:list(ModState),

src/riak_vnode_master.erl

     Pid = get_vnode(Partition, State),
     gen_server:cast(Pid, {delete, From, Storekey, ReqID}),
     % (obligation done, now the problem of the vnodes)
-    {noreply, State};
-handle_call({vnode_put_binary, {Partition,_Node},
-             {Storekey,Val,_ReqID}}, From, State) ->
-    Pid = get_vnode(Partition, State),
-    spawn(fun() ->
-                  Res = gen_server:call(Pid, {put_binary, Storekey, Val}),
-                  gen_server:reply(From,Res)
-          end),
     {noreply, State}.
 
 %% @private