buraksezer / consistent

Consistent hashing with bounded loads in Golang
https://research.googleblog.com/2017/04/consistent-hashing-with-bounded-loads.html
MIT License
693 stars 69 forks source link

fix: AverageLoad() function panics with "divide by zero" when no members are in the hash ring #25

Closed buraksezer closed 1 year ago

buraksezer commented 1 year ago

This PR fixes #19