Skip to content

Conversation

varung
Copy link
Contributor

@varung varung commented Feb 16, 2016

used should include terminating nodes, because their ram will migrate
otherwise we get in a stupid situation where it keeps terminating, and that used disappears, so it terminates again, and then it has to create because all that stuff gets migrated back

the condition wants to catch nodes that are terminating, or non-terminating and non-disabled. If they are non-terminating and disabled, then we should not count the used. (effectively nodes that are only disabled don't exist). We disable nodes that are terminating, making the condition more complicated than just always adding it

used should include terminating nodes, because their ram will migrate
otherwise we get in a stupid situation where it keeps terminating, and that used disappears, so it terminates again, and then it has to create because all that stuff gets migrated back

the condition wants to catch nodes that are terminating, or non-terminating and non-disabled. If they are non-terminating and disabled, then we should not count the used. (effectively nodes that are only disabled don't exist). We disable nodes that are terminating, making the condition more complicated than just always adding it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants