// If there are no available priorities left, we reset the attempted priorities and recompute the
// TODO(snowp): This code is basically distributeLoad from load_balancer_impl.cc, should probably
// The outer loop is used to eliminate rounding errors: any remaining load will be assigned to the