uber-node / ringpop-node

Scalable, fault-tolerant application-layer sharding for Node.js applications
http://uber.github.io/ringpop/
MIT License
1.18k stars 146 forks source link

[Fix] Consistent hash ring lookups 2 / Use replicaPoints as RBTree key #316

Closed mennopruijssers closed 7 years ago

mennopruijssers commented 7 years ago

This PR changes the key in the RBTree from the hash to a replica point in preparation for a better compare function.