Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Preserve instance id order when scaling down #1628
This PR updates the scheduler to preserve the instance numbers in order since a number of systems depend on them being contiguous. This causes slightly more task churn in a few cases in return for consistency. If the task churn is an issue, we can always put it behind a configuration flag.
tests added, haven't added the config flag just yet