lafikl/consistent

remove host from ring

tinytub opened this issue · 1 comments

func (c *Consistent) Remove(host string) bool {

Remove host from ring,but didn't remove from loadmap.
If use Hosts() to get all hosts, it return the list generate from the loadmap, not real hosts in the ring.
Whether or not delete the host from loadmap ?

yes you're right.

a PR to rectify this issue would be welcome.