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

agent/runner: Fix DesiredVMState incorrect decrease #515

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

sharnoff
Copy link
Member

@sharnoff sharnoff commented Sep 2, 2023

This fixes #512 (the second test added was failing before the change to DesiredVMState).

The reasoning for the change is given in the added comment.

@sharnoff sharnoff force-pushed the sharnoff/agent-runner-AtomicUpdateState-test branch 2 times, most recently from 765736c to bd2409d Compare September 2, 2023 05:57
This should resolve #512 (the second test added was failing before the
change to DesiredVMState).

The reasoning for the change is given in the comment.
@sharnoff sharnoff force-pushed the sharnoff/agent-runner-fix-DesiredVMState-decrease branch from 09d8200 to cb66f67 Compare September 2, 2023 05:58
Base automatically changed from sharnoff/agent-runner-AtomicUpdateState-test to main September 2, 2023 14:19
@sharnoff sharnoff merged commit a775918 into main Sep 2, 2023
@sharnoff sharnoff deleted the sharnoff/agent-runner-fix-DesiredVMState-decrease branch September 2, 2023 14:20
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.

Bug: autoscaler-agent background worker panics with rejectedDownscale returned new target less than current
1 participant