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 jetty context leak #8552

Merged
merged 1 commit into from
May 23, 2023
Merged

Fix jetty context leak #8552

merged 1 commit into from
May 23, 2023

Conversation

laurit
Copy link
Contributor

@laurit laurit commented May 23, 2023

Hopefully resolves #8415
I wasn't able to reproduce, it is unclear to me how context propagates into ReservedThreadExecutor$ReservedThread in the first place. Looking at https://github.com/eclipse/jetty.project/blob/b45c405e4544384de066f814ed42ae3dceacdd49/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ReservedThreadExecutor.java#L302 I'd say that we shouldn't propagate context there, it is reading tasks from a queue.

@laurit laurit requested a review from a team as a code owner May 23, 2023 18:55
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

👍

@trask trask merged commit 5627a15 into open-telemetry:main May 23, 2023
44 checks passed
@laurit laurit deleted the ignore-task-class branch June 26, 2023 07:13
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.

Jetty spans disappear during process execution
2 participants