-
Notifications
You must be signed in to change notification settings - Fork 230
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
MultiKueue skip garbage collection for disconnected clients. #2369
MultiKueue skip garbage collection for disconnected clients. #2369
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/test pull-kueue-test-integration-main |
/test pull-kueue-test-integration-main |
3 similar comments
/test pull-kueue-test-integration-main |
/test pull-kueue-test-integration-main |
/test pull-kueue-test-integration-main |
ba5dbee
to
cbad495
Compare
/test pull-kueue-test-integration-main |
/test pull-kueue-test-integration-main |
cbad495
to
1e4ef0c
Compare
1e4ef0c
to
5117780
Compare
/cc @mimowo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, one question.
Also, it seems that this issue can affect users. If so, please add a relevant release note and we could cherry-pick.
@@ -98,6 +98,7 @@ func newRemoteClient(localClient client.Client, wlUpdateCh, watchEndedCh chan<- | |||
localClient: localClient, | |||
origin: origin, | |||
} | |||
rc.connecting.Store(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed for the skip itself or it fixes another scenario?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is needed, it's one of the two key parts of the fix, the flaky panic wold come up when the GC ran during the initial connect attempt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
done |
/assign |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mimowo, trasc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
LGTM label has been added. Git tree hash: c99d3e4db8be53d05cc64479cb301b4e3475b471
|
/release-note-edit
To make it more relatable to users. |
/cherry-pick release-0.7 |
@mimowo: new pull request created: #2370 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/release-note-edit
|
/kind bug |
What type of PR is this?
/kind bug
/kind failing-test
/kind flake
What this PR does / why we need it:
MultiKueue skip garbage collection for disconnected clients, which otherwise can cause a panic if the GC runes between the time a
remoteClient
is created and it's initial connection to the worker cluster.Which issue(s) this PR fixes:
Fixes #2365
Special notes for your reviewer:
Does this PR introduce a user-facing change?