YUKI Hiroshi
null+****@clear*****
Tue Apr 21 18:03:06 JST 2015
YUKI Hiroshi 2015-04-21 18:03:06 +0900 (Tue, 21 Apr 2015) New Revision: 0063709152c764caf4381f43894d9dd0fb817e2c https://github.com/droonga/droonga-engine/commit/0063709152c764caf4381f43894d9dd0fb817e2c Message: Don't close connections until the cluster state is actually changed Modified files: lib/droonga/cluster.rb Modified: lib/droonga/cluster.rb (+1 -1) =================================================================== --- lib/droonga/cluster.rb 2015-04-21 17:35:22 +0900 (107d278) +++ lib/droonga/cluster.rb 2015-04-21 18:03:06 +0900 (ece139d) @@ -109,12 +109,12 @@ module Droonga else old_state = nil end - clear_cache @state = self.class.load_state_file if @state == old_state logger.info("cluster state not changed") else logger.info("cluster state changed", :state => @state) + clear_cache engine_nodes.each(&:resume) on_change end -------------- next part -------------- HTML����������������������������... 下載