[Groonga-commit] droonga/droonga-engine at 7ce1d61 [buffered-forward] 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: 7ce1d618603689be49d20f855cab58d5667d488c
  https://github.com/droonga/droonga-engine/commit/7ce1d618603689be49d20f855cab58d5667d488c

  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 18:06:18 +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