[Groonga-commit] droonga/droonga-engine at 6037f4b [master] Read cluster definition from catalog.json correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Sun Jun 29 03:38:22 JST 2014


YUKI Hiroshi	2014-06-29 03:38:22 +0900 (Sun, 29 Jun 2014)

  New Revision: 6037f4b314e7fce3582dcf237eca4f5301e86746
  https://github.com/droonga/droonga-engine/commit/6037f4b314e7fce3582dcf237eca4f5301e86746

  Message:
    Read cluster definition from catalog.json correctly

  Modified files:
    bin/droonga-engine-join
    bin/droonga-engine-unjoin

  Modified: bin/droonga-engine-join (+2 -2)
===================================================================
--- bin/droonga-engine-join    2014-06-29 03:34:04 +0900 (67b5b6a)
+++ bin/droonga-engine-join    2014-06-29 03:38:22 +0900 (b93f7ca)
@@ -98,8 +98,8 @@ if generator.dataset_for_host(options.joining_host)
           "You cannot join a member twice."
 end
 
-options.tag  = dataset.tag
-options.port = dataset.port
+options.tag  = dataset.replicas.tag
+options.port = dataset.replicas.port
 
 options.joining_node = "#{options.joining_host}:#{options.port}/#{options.tag}"
 

  Modified: bin/droonga-engine-unjoin (+3 -3)
===================================================================
--- bin/droonga-engine-unjoin    2014-06-29 03:34:04 +0900 (3053c48)
+++ bin/droonga-engine-unjoin    2014-06-29 03:38:22 +0900 (618c22b)
@@ -71,9 +71,9 @@ unless dataset
 end
 
 options.dataset     = dataset.name
-options.tag         = dataset.tag
-options.port        = dataset.port
-options.other_hosts = dataset.hosts
+options.tag         = dataset.replicas.tag
+options.port        = dataset.replicas.port
+options.other_hosts = dataset.replicas.hosts
 
 remaining_host = options.other_hosts.first || options.replica_remove_host
 options.remaining_node = "#{remaining_host}:#{options.port}/#{options.tag}"
-------------- next part --------------
HTML����������������������������...
Download 



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