riak-core-lite / riak_core_lite

Distributed systems infrastructure used by Riak.
Apache License 2.0
80 stars 13 forks source link

Chash:fresh/2 creates wrong number of partitions #88

Closed albsch closed 3 years ago

albsch commented 3 years ago

chash:fresh/2 creates invalid partitions for even number of partitions. Test cases in chash wrong. They create a 5-sized partition, but compare it to a 6-sized list.