[Groonga-commit] long-long-float/droonga-engine at 1058ec6 [master] remove comments

Back to archive index

long-long-float null+****@clear*****
Fri Aug 22 14:44:12 JST 2014


long-long-float	2014-08-22 14:44:12 +0900 (Fri, 22 Aug 2014)

  New Revision: 1058ec607b01b9c1964a42dc8098396a96fcfa09
  https://github.com/long-long-float/droonga-engine/commit/1058ec607b01b9c1964a42dc8098396a96fcfa09

  Merged 7fb2af2: Merge pull request #12 from long-long-float/share-catalog-automatically

  Message:
    remove comments

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+0 -18)
===================================================================
--- bin/droonga-engine-join    2014-08-20 18:08:18 +0900 (8ece6bb)
+++ bin/droonga-engine-join    2014-08-22 14:44:12 +0900 (72091a1)
@@ -125,22 +125,11 @@ def run_remote_command(target, command, options)
   result[:response]
 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",
                    "node"   => options.joining_node,
                    "type"   => "replica",
                    "source" => options.source_node,
-#                   "fetch_port" => publish_port,
                    "copy"   => options.copy)
 sleep(5) #TODO: wait for restarting of the joining node. this should be done more safely.
 
@@ -158,13 +147,6 @@ 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."
 
 exit(true)
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index