YUKI Piro Hiroshi
null+****@clear*****
Fri Dec 12 01:05:18 JST 2014
YUKI "Piro" Hiroshi 2014-12-12 01:05:18 +0900 (Fri, 12 Dec 2014) New Revision: 83a7a3f13c572215c83cc88441172768e255dc42 https://github.com/droonga/droonga-engine/commit/83a7a3f13c572215c83cc88441172768e255dc42 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/slices_volume.rb Modified: lib/droonga/catalog/slices_volume.rb (+1 -1) =================================================================== --- lib/droonga/catalog/slices_volume.rb 2014-12-12 01:00:50 +0900 (8785c3a) +++ lib/droonga/catalog/slices_volume.rb 2014-12-12 01:05:18 +0900 (c0a694a) @@ -83,7 +83,7 @@ module Droonga slice = choose_slice(message["record"]) routes.concat(slice.compute_routes(message, live_nodes)) end - routes.sort.uniq + routes end def sliced? -------------- next part -------------- HTML����������������������������... 다운로드