metafora
metafora copied to clipboard
Cleanup FairBalancer.CanClaim
PR #123 added really naive logic to delay task claiming for the FairBalancer because recent changes made it so overloaded nodes could happily keep winning claim races.
The hack works, but there's got to be a better way. Adding an integration test around etcd+FairBalancer would probably be helpful.