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

Clear trace entities from asynchronous thread. #57

Merged
merged 3 commits into from
Feb 1, 2019

Conversation

steven-aerts
Copy link
Contributor

Previously a segment stayed on the worker thread when a servlet was processed asynchronously.
Which means that the next user of this thread will encounter this segment.
This typically results in traces like:

Beginning new segment while another segment exists in the segment context.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Previously a segment stayed on the worker thread when a servlet was
processed asynchronously.
Which means that the next user of this thread will encounter this
segment.
This typically results in traces like:
  Beginning new segment while another segment exists in the segment context.
@chrisradek
Copy link
Contributor

@steven-aerts
Thanks for submitting this pull request as well! I'll take a look at this and #58 and respond back here soon!

@chrisradek chrisradek self-assigned this Jan 29, 2019
Co-Authored-By: steven-aerts <steven.aerts@gmail.com>
@steven-aerts
Copy link
Contributor Author

@chrisradek thanks for the extra test, I think it does nicely what you suggest.

Thanks,

Steven

Copy link
Contributor

@chrisradek chrisradek left a comment

Choose a reason for hiding this comment

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

@steven-aerts
Looks good to me! Thank you for your contribution!

@chrisradek chrisradek merged commit eed8aa9 into aws:master Feb 1, 2019
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