YUKI Hiroshi
null+****@clear*****
Tue Jul 29 11:06:22 JST 2014
YUKI Hiroshi 2014-07-29 11:06:22 +0900 (Tue, 29 Jul 2014) New Revision: 594d5f568a4fcad26d9a9d1154bf0d29d1454936 https://github.com/droonga/droonga-engine/commit/594d5f568a4fcad26d9a9d1154bf0d29d1454936 Message: Add note for droonga-send Modified files: lib/droonga/data_absorber.rb Modified: lib/droonga/data_absorber.rb (+7 -0) =================================================================== --- lib/droonga/data_absorber.rb 2014-07-28 14:19:56 +0900 (ad60f95) +++ lib/droonga/data_absorber.rb 2014-07-29 11:06:22 +0900 (3552397) @@ -42,6 +42,13 @@ module Droonga client_options += ["--receiver-host", params[:destination_host]] client_options += ["--receiver-port", params[:receiver_port].to_s] if params[:receiver_port] elsif client.include?("droonga-send") + #XXX Don't use round-robin with multiple endpoints + # even if there are too much data. + # Schema and indexes must be sent to just one endpoint + # to keep their order, but currently there is no way to + # extract only schema and indexes via drndump. + # So, we always use just one endpoint for now, + # even if there are too much data. server = "droonga:#{params[:destination_host]}" server = "#{server}:#{params[:port].to_s}" if params[:port] server = "#{server}/#{params[:tag].to_s}" if params[:tag] -------------- next part -------------- HTML����������������������������... 下載