[Groonga-commit] droonga/droonga-engine at 9fab7b0 [master] Register self to other hosts correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 17 17:21:23 JST 2014


YUKI Hiroshi	2014-07-17 17:21:23 +0900 (Thu, 17 Jul 2014)

  New Revision: 9fab7b0194958897fd436e89599fbcff062f9cef
  https://github.com/droonga/droonga-engine/commit/9fab7b0194958897fd436e89599fbcff062f9cef

  Message:
    Register self to other hosts correctly

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

  Modified: lib/droonga/command/serf_event_handler.rb (+1 -1)
===================================================================
--- lib/droonga/command/serf_event_handler.rb    2014-07-17 17:20:15 +0900 (e42a980)
+++ lib/droonga/command/serf_event_handler.rb    2014-07-17 17:21:23 +0900 (d9659d4)
@@ -169,7 +169,7 @@ module Droonga
 
         logger.info("joining to the cluster: update others")
 
-        source_node  = "#{source}:#{port}/#{tag}"
+        source_node  = "#{source_host}:#{port}/#{tag}"
         Serf.send_query(source_node, "add_replicas",
                         "dataset" => dataset_name,
                         "hosts"   => [host])
-------------- next part --------------
HTML����������������������������...
Download 



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