Skip to content
This repository

Synchronous VNode Startup (AZ1011) #35

Merged
merged 2 commits into from over 2 years ago

2 participants

Rusty Klophaus Jon Meredith
Jon Meredith
Owner

+1 merge

Rusty Klophaus rustyio merged commit cb1a3ba into from December 15, 2011
Rusty Klophaus rustyio closed this December 15, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 2 unique commits by 1 author.

Dec 14, 2011
Rusty Klophaus Trigger a ring_update to start vnodes, remove call to service_up as i…
…t is now handled by riak_core_ring_handler.

AZ1011
0ab4154
Rusty Klophaus Use new riak_core:register/N function.
AZ1011
8427045
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  src/riak_pipe_app.erl
5  src/riak_pipe_app.erl
@@ -47,8 +47,9 @@ start(_StartType, _StartArgs) ->
47 47
 
48 48
     case riak_pipe_sup:start_link() of
49 49
         {ok, Pid} ->
50  
-            riak_core:register_vnode_module(riak_pipe_vnode),
51  
-            riak_core_node_watcher:service_up(riak_pipe, Pid),
  50
+            riak_core:register(riak_pipe, [
  51
+                {vnode_module, riak_pipe_vnode}
  52
+            ]),
52 53
             {ok, Pid};
53 54
         {error, Reason} ->
54 55
             {error, Reason}
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.