[Groonga-commit] droonga/droonga-engine at 78b0c93 [buffered-forward] Initialize live-nodes-list.json certainly

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Fri Dec 26 12:00:55 JST 2014


YUKI Hiroshi	2014-12-26 12:00:55 +0900 (Fri, 26 Dec 2014)

  New Revision: 78b0c93f6be301333143edba19bd14c9a0a70f60
  https://github.com/droonga/droonga-engine/commit/78b0c93f6be301333143edba19bd14c9a0a70f60

  Message:
    Initialize live-nodes-list.json certainly

  Modified files:
    lib/droonga/serf.rb

  Modified: lib/droonga/serf.rb (+4 -1)
===================================================================
--- lib/droonga/serf.rb    2014-12-26 11:57:10 +0900 (f1528bc)
+++ lib/droonga/serf.rb    2014-12-26 12:00:55 +0900 (cc53f14)
@@ -68,7 +68,10 @@ module Droonga
                    "-tag", "role=#{role}",
                    "-tag", "cluster_id=#{cluster_id}",
                    *retry_joins)
-      update_live_nodes_list
+      Thread.new do
+        sleep 1 # wait until the serf agent becomes running
+        update_live_nodes_list if****@agent*****?
+      end
       logger.trace("start: done")
     end
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



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