Navigation Menu

Skip to content

Commit

Permalink
Update replicas correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 28, 2014
1 parent a1369a8 commit c7b20c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/command/serf_event_handler.rb
Expand Up @@ -129,7 +129,7 @@ def join_as_replica
puts "starting to copy data from #{source}"

modify_catalog do |modifier|
modifier.datasets[dataset].replicas.hosts = [host]
modifier.datasets[dataset_name].replicas.hosts = [host]
end
sleep(1) # wait for restart

Expand Down

0 comments on commit c7b20c0

Please sign in to comment.