[Groonga-commit] droonga/droonga-engine at c7b20c0 [master] Update replicas correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Sun Jun 29 04:23:31 JST 2014


YUKI Hiroshi	2014-06-29 04:23:31 +0900 (Sun, 29 Jun 2014)

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

  Message:
    Update replicas 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-06-29 04:23:13 +0900 (e7a18fd)
+++ lib/droonga/command/serf_event_handler.rb    2014-06-29 04:23:31 +0900 (8a614dc)
@@ -129,7 +129,7 @@ module Droonga
           puts "starting to copy data from #{source}"
 
           modify_catalog do |modifier|
-            modifier.datasets[dataset].replicas.hosts = [host]
+            modifier.datasets[dataset_name].replicas.hosts = [host]
           end
           sleep(1) # wait for restart
 
-------------- next part --------------
HTML����������������������������...
Télécharger 



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