Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Synchronous VNode Startup (AZ1011) #261

Merged
merged 2 commits into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 14, 2011
  1. @rustyio

    Trigger a ring_update to start vnodes, remove call to service_up as i…

    rustyio authored
    …t is now handled by riak_core_ring_handler.
    
    AZ1011
Commits on Dec 15, 2011
  1. @rustyio

    Use new riak_core:register/N function.

    rustyio authored
    AZ1011
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/riak_kv_app.erl
View
5 src/riak_kv_app.erl
@@ -85,8 +85,9 @@ start(_Type, _StartArgs) ->
%% Go ahead and mark the riak_kv service as up in the node watcher.
%% The riak_core_ring_handler blocks until all vnodes have been started
%% synchronously.
- riak_core:register_vnode_module(riak_kv_vnode),
- riak_core_node_watcher:service_up(riak_kv, self()),
+ riak_core:register(riak_kv, [
+ {vnode_module, riak_kv_vnode}
+ ]),
{ok, Pid};
{error, Reason} ->
{error, Reason}
Something went wrong with that request. Please try again.