uber / ringpop-go

Scalable, fault-tolerant application-layer sharding for Go applications
http://www.uber.com
MIT License
835 stars 83 forks source link

[Feature] Identity carry over part 3 / Hashring abstraction #190

Closed thanodnl closed 7 years ago

thanodnl commented 8 years ago

This PR is part 3 for identity carry over.

This PR hooks up the hashring to the newly introduced membership package. Instead of talking about servers as strings we respond to memberhip.MemberChange slices. This has the benefit that we have access to more fields exposed on a member than just its address.