YUKI Hiroshi
null+****@clear*****
Thu Jan 15 17:39:58 JST 2015
YUKI Hiroshi 2015-01-15 17:39:58 +0900 (Thu, 15 Jan 2015) New Revision: d7acada1d5f786eb88709c80958b0c3e286ee648 https://github.com/droonga/droonga-engine/commit/d7acada1d5f786eb88709c80958b0c3e286ee648 Message: Join the new node to the cluster before absorb Modified files: bin/droonga-engine-join Modified: bin/droonga-engine-join (+2 -2) =================================================================== --- bin/droonga-engine-join 2015-01-15 17:37:03 +0900 (65ffb83) +++ bin/droonga-engine-join 2015-01-15 17:39:58 +0900 (3ad0595) @@ -43,11 +43,11 @@ class JoinCommand puts "" set_node_role + update_existing_nodes do_join sleep(5) #TODO: wait for restarting of the joining node. this should be done more safely. monitor_copying_state unless @options["no-copy"] set_effective_message_timestamp - update_other_nodes reset_node_role puts("Done.") exit(true) @@ -223,7 +223,7 @@ class JoinCommand end end - def update_other_nodes + def update_existing_nodes puts("Update existing hosts in the cluster...") run_remote_command(source_node, "add_replicas", "cluster_id" => source_cluster_id, -------------- next part -------------- HTML����������������������������... Download