Closed sloppyfocus closed 9 years ago
A few magic numbers that could be defines/consts. Otherwise looks good.
I think this is okay... I really hate the way ketama does config stuff and want to rip it out into something more flexible long term, but I agree this is useful enough to warrant just hacking it together for now.
This change modifies config file parsing to allow statsrelay addresses to be "tagged". Tags make it possible for different addresses to occupy the same portion of the hash ring, so that moving statsrelay shards or changing IP addresses will not result in every key being rehashed.