frostfs-sdk-go/netmap
Evgenii Stratonikov 3edaf9ecb6 netmap: sort buckets by HRW value
If weights for some buckets are equal, result depends on the
initial positions of buckets in slice. Thus we sort buckets by value
using hash of the first node as a have for the whole bucket.
This is ok, because buckets are already sorted by HRW.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-12-28 15:59:35 +03:00
..
test [#54] tests: unify test generator names 2021-12-01 10:34:54 +03:00
aggregator.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
clause.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
clause_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
container.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
context.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
doc.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
filter.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
filter_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
helper_test.go [#80] netmap: process subnet in selection 2021-11-26 15:52:08 +03:00
netmap.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
network_info.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
network_info_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
node_info.go netmap: sort buckets by HRW value 2021-12-28 15:59:35 +03:00
node_info_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
operation.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
operation_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
policy.go [#80] netmap: process subnet in selection 2021-11-26 15:52:08 +03:00
policy_test.go [#80] netmap: process subnet in selection 2021-11-26 15:52:08 +03:00
replica.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
replica_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
selector.go netmap: sort buckets by HRW value 2021-12-28 15:59:35 +03:00
selector_test.go netmap: sort buckets by HRW value 2021-12-28 15:59:35 +03:00
subnet.go [#80] netmap: add NodeInfo.ExitSubnet method 2021-11-26 15:52:08 +03:00
subnet_test.go [#80] netmap: add NodeInfo.ExitSubnet method 2021-11-26 15:52:08 +03:00