[Groonga-commit] droonga/droonga-engine at 00812b6 [master] Allow to suspend the source node even if there is only one left node

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jan 15 18:08:12 JST 2015


YUKI Hiroshi	2015-01-15 18:08:12 +0900 (Thu, 15 Jan 2015)

  New Revision: 00812b65143d81c6b1cebe0e3a79f1755e85b328
  https://github.com/droonga/droonga-engine/commit/00812b65143d81c6b1cebe0e3a79f1755e85b328

  Message:
    Allow to suspend the source node even if there is only one left node

  Modified files:
    lib/droonga/data_absorber.rb

  Modified: lib/droonga/data_absorber.rb (+1 -1)
===================================================================
--- lib/droonga/data_absorber.rb    2015-01-15 16:23:31 +0900 (fd7d640)
+++ lib/droonga/data_absorber.rb    2015-01-15 18:08:12 +0900 (2671352)
@@ -135,7 +135,7 @@ module Droonga
     end
 
     def source_node_suspendable?
-      (source_replica_hosts - [@source_host]).size > 1
+      (source_replica_hosts - [@source_host]).size >= 1
     end
 
     private
-------------- next part --------------
HTML����������������������������...
Download 



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