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(scheduler): Do not report back draining servers for status #5761

Merged
merged 4 commits into from
Jul 16, 2024

Conversation

sakoush
Copy link
Member

@sakoush sakoush commented Jul 16, 2024

There is an issue with "double" counting for models in the case of draining server replicas when then are reported with server statues. While the double counting is initially correct as we are loading models onto a different server replica while having the draining server server traffic. Once the drain process has finished and the draining server removed there is no event that triggers an update to the server statuses to reflect this change.

As eventually the draining server replica is going to get removed, we decided to just not report draining servers back on server statuses.

Also added a test to cover this edge case.

Fixes: Infra-1080 (internal)

@sakoush sakoush requested a review from lc525 as a code owner July 16, 2024 10:47
Copy link
Member

@lc525 lc525 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but I see some lint errors. All good once checks pass.

@sakoush sakoush merged commit c99d281 into SeldonIO:v2 Jul 16, 2024
3 checks passed
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.

None yet

2 participants