-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistent ordering for deletion priority
If two machines had the same deletion priority, then on subsequent syncReplicas calls different machines could be deleted. For example, when using Oldest or Newest deletion priorities, then machines that are already deleting and machines without a node ref have the same priority. Then this could lead to multiple machines getting deleted on different calls to syncReplicas. That is, if a MachineSet is scaled down by 1, then one machine would get deleted, but then a second call to syncReplicas could delete a machine with no node ref instead of the machine that is already deleting. Signed-off-by: Donnie Adams <[email protected]>
- Loading branch information
Donnie Adams
committed
Mar 11, 2022
1 parent
4afdea8
commit aad2560
Showing
2 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters