This was one of my biggest concerns as well. From actually running the code I found the `totalModInstanceCount` always remains the same value.
Our update mechanism is a bit tough to grok but if I'm understanding it correctly, it seems like every time you encounter an update, the whole process is played out from beginning to end. This, combined with the fact that when you try apply an update to an already updated instance results in a noop, makes for a nice catch all process where we can avoid worrying about corner cases (how do we recover our state without writing it to the storage). Same applies to a recovery. So in the end you always end up with that first idle group being the total amount of instances you will modify by the end of the update. [ Full content available at: https://github.com/apache/aurora/pull/37 ] This message was relayed via gitbox.apache.org for [email protected]
