[Groonga-commit] droonga/droonga-engine at f2ab1b6 [master] Remove needless sort.uniq for routes.

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Fri Dec 12 01:05:21 JST 2014


YUKI "Piro" Hiroshi	2014-12-12 01:05:21 +0900 (Fri, 12 Dec 2014)

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

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

  Message:
    Remove needless sort.uniq for routes.
    
    Routes are always unique. And, should be sorted by tests.

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

  Modified: lib/droonga/catalog/replicas_volume.rb (+1 -1)
===================================================================
--- lib/droonga/catalog/replicas_volume.rb    2014-12-12 01:05:18 +0900 (7d007c8)
+++ lib/droonga/catalog/replicas_volume.rb    2014-12-12 01:05:21 +0900 (7c42e7f)
@@ -86,7 +86,7 @@ module Droonga
             routes.concat(volume.compute_routes(message, live_nodes))
           end
         end
-        routes.sort.uniq
+        routes
       end
 
       def sliced?
-------------- next part --------------
HTML����������������������������...
다운로드 



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