[Groonga-commit] droonga/droonga-engine at 836a904 [master] Add missing serf node name

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Thu Aug 28 19:27:53 JST 2014


YUKI Hiroshi	2014-08-28 19:27:53 +0900 (Thu, 28 Aug 2014)

  New Revision: 836a904d9ea18f86d6fa2b98d66208b9f1c734fb
  https://github.com/droonga/droonga-engine/commit/836a904d9ea18f86d6fa2b98d66208b9f1c734fb

  Message:
    Add missing serf node name

  Modified files:
    lib/droonga/command/remote.rb

  Modified: lib/droonga/command/remote.rb (+3 -3)
===================================================================
--- lib/droonga/command/remote.rb    2014-08-28 19:25:08 +0900 (501743f)
+++ lib/droonga/command/remote.rb    2014-08-28 19:27:53 +0900 (7ba99e2)
@@ -169,7 +169,7 @@ module Droonga
             modifier.datasets[dataset_name].replicas.hosts.uniq!
           end
 
-          Serf.join(*other_hosts)
+          Serf.join(@serf_name, *other_hosts)
         end
 
         def replica_hosts(catalog=nil)
@@ -294,7 +294,7 @@ module Droonga
             modifier.datasets[dataset].replicas.hosts = hosts
           end
 
-          Serf.join(*hosts)
+          Serf.join(@serf_name, *hosts)
           #XXX Now we should restart serf agent to remove unjoined nodes from the list of members...
         end
       end
@@ -314,7 +314,7 @@ module Droonga
             modifier.datasets[dataset].replicas.hosts.uniq!
           end
 
-          Serf.join(*hosts)
+          Serf.join(@serf_name, *hosts)
         end
       end
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る