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

Remove thread factory tracing #3506

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

dstepanov
Copy link
Contributor

Unfortunately, thread factory tracing is causing all kind of issues, the problem occurs when the thread is actually a long-running reusable.
The first invocation will set server context, MDC, and tracing of the first request, and in RC1 it's causing that first server request object being set again.

@graemerocher
Copy link
Contributor

Well this is what we have RCs for. It would be could if this was a test included that demonstrated the issue

@graemerocher graemerocher added this to the 2.0.0 milestone Jun 16, 2020
@graemerocher graemerocher added the type: bug Something isn't working label Jun 16, 2020
@graemerocher graemerocher merged commit d9fde62 into micronaut-projects:master Jun 16, 2020
@dstepanov
Copy link
Contributor Author

I didn't manage to reproduce it by a test in micronaut, in a private project I managed to point it out to only netty threads wrapping, I suspected client and server are sharing the same thread pool and when client is called from a controller context is propagated to a new runnable wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants