Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

introduced placeholder system_joinable/0 implementation

Earlier we asked tgen, but now it's dead.

Change-Id: Ie3f52237a1319d12417f793d923f6a0db1d15053
Reviewed-on: http://review.northscale.com:8080/359
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information...
commit b74f1150cf91ea03309cc15c33e16d39e0026929 1 parent 187bddb
Aliaksey Kandratsenka (aka Aliaksei Kandratsenka) authored June 09, 2010 steveyen committed June 09, 2010

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  src/ns_cluster_membership.erl
6  src/ns_cluster_membership.erl
@@ -11,6 +11,7 @@
11 11
          engage_cluster/2,
12 12
          handle_add_node_request/2,
13 13
          join_cluster/4,
  14
+         system_joinable/0,
14 15
          start_rebalance/2,
15 16
          stop_rebalance/0,
16 17
          get_rebalance_status/0,
@@ -181,8 +182,11 @@ join_cluster(OtherHost, OtherPort, OtherUser, OtherPswd) ->
181 182
         OtherError -> handle_join_rest_failure(OtherError, OtherHost, OtherPort)
182 183
     end.
183 184
 
  185
+system_joinable() ->
  186
+    true.
  187
+
184 188
 handle_join_inner(OtherHost, OtherPort, OtherUser, OtherPswd) ->
185  
-    case tgen:system_joinable() of
  189
+    case system_joinable() of
186 190
         true ->
187 191
             case ns_cluster:prepare_join_to(OtherHost) of
188 192
                 {ok, MyIP} ->

0 notes on commit b74f115

Please sign in to comment.
Something went wrong with that request. Please try again.