[Groonga-commit] droonga/droonga-engine at ac86cc7 [master] Accept replica with no slice

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Dec 5 12:16:28 JST 2014


YUKI Hiroshi	2014-12-05 12:16:28 +0900 (Fri, 05 Dec 2014)

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

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

  Message:
    Accept replica with no slice

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

  Modified: lib/droonga/catalog/dataset.rb (+1 -0)
===================================================================
--- lib/droonga/catalog/dataset.rb    2014-12-05 12:16:05 +0900 (e92b6a8)
+++ lib/droonga/catalog/dataset.rb    2014-12-05 12:16:28 +0900 (ad31d8e)
@@ -71,6 +71,7 @@ module Droonga
         # TODO: Support slice key
         replicas.all? do |replica|
           replica.is_a?(SingleVolume) or
+            replica.slices.nil? or
             replica.slices.size == 1
         end
       end
-------------- next part --------------
HTML����������������������������...
다운로드 



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