Skip to content

Reduce unnecessary task stickiness #49601

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

Merged
merged 2 commits into from
May 6, 2023
Merged

Reduce unnecessary task stickiness #49601

merged 2 commits into from
May 6, 2023

Conversation

kpamnany
Copy link
Member

@kpamnany kpamnany commented May 2, 2023

Tasks are created sticky by default. Task stickiness also spreads, and tasks do not get "unstickied". Until that can be fixed, we need to avoid introducing any unnecessary stickiness.

This PR removes one case: binding a task to a Channel creates a task to close the channel which does not need to be sticky. It also fixes a potential race.

@kpamnany kpamnany requested a review from vtjnash May 2, 2023 19:30
@kpamnany kpamnany requested a review from vchuravy May 2, 2023 20:06
@kpamnany kpamnany force-pushed the kp/channel-task-fix branch from 9a33b53 to 0cfd6f2 Compare May 3, 2023 17:17
@kpamnany kpamnany force-pushed the kp/channel-task-fix branch from 0cfd6f2 to 9dbfc05 Compare May 4, 2023 16:15
@vtjnash vtjnash merged commit 7cf01e5 into master May 6, 2023
@vtjnash vtjnash deleted the kp/channel-task-fix branch May 6, 2023 04:37
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.

2 participants