YUKI Hiroshi
null+****@clear*****
Tue Jul 22 18:52:52 JST 2014
YUKI Hiroshi 2014-07-22 18:52:52 +0900 (Tue, 22 Jul 2014) New Revision: 81cb30e605b0980b05d4b96c9de1e6adfabe7fd3 https://github.com/droonga/droonga-engine/commit/81cb30e605b0980b05d4b96c9de1e6adfabe7fd3 Message: Disable fetching Modified files: bin/droonga-engine-join Modified: bin/droonga-engine-join (+6 -1) =================================================================== --- bin/droonga-engine-join 2014-07-22 18:50:58 +0900 (33ef9ff) +++ bin/droonga-engine-join 2014-07-22 18:52:52 +0900 (828168d) @@ -124,13 +124,15 @@ def run_remote_command(target, command, options) puts result[:error] unless result[:error].empty? end - +=begin +XXX disable fetching until it become working puts "Preparing to fetch cluster information..." publish_port = 10032 + rand(10000) run_remote_command(options.source_node, "publish_catalog", "node" => options.source_node, "port" => publish_port) sleep(3) # wait until the HTTP server becomes ready +=end puts "Joining new replica to the cluster..." run_remote_command(options.joining_node, "join", @@ -145,9 +147,12 @@ run_remote_command(options.source_node, "add_replicas", "dataset" => options.dataset, "hosts" => [options.joining_host]) +=begin +XXX disable fetching until it become working run_remote_command(options.source_node, "unpublish_catalog", "node" => options.source_node, "port" => publish_port) +=end puts "Done." -------------- next part -------------- HTML����������������������������... 下载