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

fix(BA-660): Model service not destroyed when auto scaling rule is set #3711

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kyujin-cho
Copy link
Member

resolves #3605 (BA-660).
This issue is caused by scale_services() querying auto scaling rules of endpoints which are marked as DESTROYING, whereas following await EndpointRow.batch_load() call only loads endpoints in CREATED lifecycle stage. This PR resolves the issue by limiting await EndpointAutoScalingRuleRow.list() query to also resolve rules linked with endpoints in CREATED state.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue

@kyujin-cho kyujin-cho added the type:bug Reports about that are not working label Feb 14, 2025
@kyujin-cho kyujin-cho self-assigned this Feb 14, 2025
@github-actions github-actions bot added comp:manager Related to Manager component size:S 10~30 LoC labels Feb 14, 2025
kyujin-cho and others added 2 commits February 14, 2025 11:02
@github-actions github-actions bot added the area:docs Documentations label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:docs Documentations comp:manager Related to Manager component size:S 10~30 LoC type:bug Reports about that are not working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The service is not being deleted if autoscaling rule is set.
1 participant