Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

used should count terminating #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

used should count terminating #1

wants to merge 1 commit into from

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