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

Modified Jaeger logic to not close scopes before switching threads #3207

Merged
merged 1 commit into from
Jul 23, 2021

Conversation

spericas
Copy link
Member

@spericas spericas commented Jul 20, 2021

Modified Jaeger logic to not close scopes before switching threads as this is problematic when running async operations (such as in auth) and continuing work on the request thread. Instead, provide our own implementation of ScopeManager that allows closing a scope from any thread, not just the one that created it. Some new tests.

Issue #3194

Signed-off-by: Santiago Pericasgeertsen santiago.pericasgeertsen@oracle.com

…s problematic when running async operations (such as in auth) and continuing work on the request thread. Instead, provide our own implementation of ScopeManager that allows closing a scope from any thread, not just the one that created it. Some new tests.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas self-assigned this Jul 20, 2021
@spericas spericas changed the title WIP: Modified Jaeger logic to not close scopes before switching threads Modified Jaeger logic to not close scopes before switching threads Jul 21, 2021
@spericas spericas merged commit f6c983f into helidon-io:master Jul 23, 2021
spericas added a commit to spericas/helidon that referenced this pull request Aug 16, 2021
…s problematic when running async operations (such as in auth) and continuing work on the request thread. Instead, provide our own implementation of ScopeManager that allows closing a scope from any thread, not just the one that created it. Some new tests. (helidon-io#3207)

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
(cherry picked from commit f6c983f)
spericas added a commit that referenced this pull request Aug 16, 2021
…s problematic when running async operations (such as in auth) and continuing work on the request thread. Instead, provide our own implementation of ScopeManager that allows closing a scope from any thread, not just the one that created it. Some new tests. (#3207)

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
(cherry picked from commit f6c983f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants