[Groonga-commit] droonga/droonga-engine at b4d87d3 [master] Detect sliced or not correctly for replicas volume

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Dec 5 15:52:07 JST 2014


YUKI Hiroshi	2014-12-05 15:52:07 +0900 (Fri, 05 Dec 2014)

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

  Merged e0f9f34: Merge pull request #30 from piroor/replicas-in-a-branch

  Message:
    Detect sliced or not correctly for replicas volume

  Modified files:
    lib/droonga/catalog/replicas_volume.rb

  Modified: lib/droonga/catalog/replicas_volume.rb (+3 -1)
===================================================================
--- lib/droonga/catalog/replicas_volume.rb    2014-12-05 15:51:41 +0900 (2ea617c)
+++ lib/droonga/catalog/replicas_volume.rb    2014-12-05 15:52:07 +0900 (9356582)
@@ -95,7 +95,9 @@ module Droonga
       end
 
       def sliced?
-        false
+        @volumes.any? dp |volume|
+          volume.sliced?
+        end
       end
 
       private
-------------- next part --------------
HTML����������������������������...
Download 



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