YUKI Hiroshi
null+****@clear*****
Sun Jun 29 04:00:32 JST 2014
YUKI Hiroshi 2014-06-29 04:00:32 +0900 (Sun, 29 Jun 2014) New Revision: ef529d402e43d8fc857a4f81292470b42232eb30 https://github.com/droonga/droonga-engine/commit/ef529d402e43d8fc857a4f81292470b42232eb30 Message: Ignore add_replica event for myself Modified files: lib/droonga/command/serf_event_handler.rb Modified: lib/droonga/command/serf_event_handler.rb (+3 -0) =================================================================== --- lib/droonga/command/serf_event_handler.rb 2014-06-29 03:56:18 +0900 (e93065b) +++ lib/droonga/command/serf_event_handler.rb 2014-06-29 04:00:32 +0900 (d9a7a8d) @@ -178,6 +178,9 @@ module Droonga hosts = given_hosts return unless hosts + hosts -= [host] + return if hosts.empty? + puts "adding replicas: #{hosts.join(",")}" modify_catalog do |modifier| -------------- next part -------------- HTML����������������������������... 下载