YUKI Hiroshi
null+****@clear*****
Thu Aug 28 19:47:09 JST 2014
YUKI Hiroshi 2014-08-28 19:47:09 +0900 (Thu, 28 Aug 2014) New Revision: 527e849c0a3c0917ec1e66f42c0fc991d36bf4d1 https://github.com/droonga/droonga-engine/commit/527e849c0a3c0917ec1e66f42c0fc991d36bf4d1 Message: Calculate added hosts correctly Modified files: lib/droonga/command/remote.rb Modified: lib/droonga/command/remote.rb (+1 -1) =================================================================== --- lib/droonga/command/remote.rb 2014-08-28 19:43:29 +0900 (2b15e63) +++ lib/droonga/command/remote.rb 2014-08-28 19:47:09 +0900 (63e23b3) @@ -302,7 +302,7 @@ module Droonga def process return if dataset.nil? or hosts.nil? - added_hosts -= [host] + added_hosts = hosts - [host] return if added_hosts.empty? log("adding replicas: #{added_hosts.join(",")}") -------------- next part -------------- HTML����������������������������... Download