[Groonga-commit] droonga/droonga-engine at 909291e [master] Add TODO comment for broadcasting to replicas

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 15 21:55:22 JST 2015


YUKI Hiroshi	2015-04-15 21:55:22 +0900 (Wed, 15 Apr 2015)

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

  Message:
    Add TODO comment for broadcasting to replicas

  Modified files:
    lib/droonga/catalog/replicas_volume.rb

  Modified: lib/droonga/catalog/replicas_volume.rb (+1 -0)
===================================================================
--- lib/droonga/catalog/replicas_volume.rb    2015-04-15 21:23:03 +0900 (244c6c6)
+++ lib/droonga/catalog/replicas_volume.rb    2015-04-15 21:55:22 +0900 (f76e1ce)
@@ -89,6 +89,7 @@ module Droonga
             routes.concat(volume.compute_routes(message, active_nodes))
           end
         when "scatter"
+          #TODO: we should choose suitable replica from differently sliced replicas.
           replicas = select(message["replica"].to_sym, active_nodes)
           replicas.each do |volume|
             routes.concat(volume.compute_routes(message, active_nodes))
-------------- next part --------------
HTML����������������������������...
Download 



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