Navigation Menu

Skip to content

Commit

Permalink
Allow to suspend the source node even if there is only one left node
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 15, 2015
1 parent 2e00983 commit 7ce1d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/data_absorber.rb
Expand Up @@ -135,7 +135,7 @@ def destination_client
end

def source_node_suspendable?
(source_replica_hosts - [@source_host]).size > 1
(source_replica_hosts - [@source_host]).size >= 1
end

private
Expand Down

0 comments on commit 7ce1d61

Please sign in to comment.