Navigation Menu

Skip to content

Commit

Permalink
Add TODO comment for broadcasting to replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 15, 2015
1 parent 0a62058 commit 909291e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/droonga/catalog/replicas_volume.rb
Expand Up @@ -89,6 +89,7 @@ def compute_routes(message, active_nodes)
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))
Expand Down

0 comments on commit 909291e

Please sign in to comment.