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

[CDAP-20871][Cherrypick] System worker capacity leak #15395

Merged

Conversation

arjan-bal
Copy link
Contributor

@arjan-bal arjan-bal commented Oct 31, 2023

CDAP-20871

Original PR: #15390

When system worker is at full capacity, system worker would increment the request count, but not decrement it before returning a 429 response. As a result, the capacity of the system worker would reduce by 1 till it is restarted. This PR fixes this bug by decrementing the request count before returning.

@arjan-bal arjan-bal self-assigned this Oct 31, 2023
@arjan-bal arjan-bal added the build Triggers github actions build label Oct 31, 2023
@arjan-bal arjan-bal merged commit b87c654 into release/6.10 Oct 31, 2023
10 checks passed
@arjan-bal arjan-bal deleted the cherrypick/CDAP-20871-system-worker-capacity-leak branch October 31, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Triggers github actions build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants