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

Make sure span.finish() is not called twice #2466

Merged
merged 2 commits into from
Oct 22, 2020

Conversation

tomas-langer
Copy link
Member

Currently if a user uses streaming output that fails, and returns an ok response that does not, the JAX-RS response filter is called twice.
This PR makes sure this does not propagate to Span.finish()

Signed-off-by: Tomas Langer tomas.langer@oracle.com

Resolves #2461

@tomas-langer tomas-langer added bug Something isn't working tracing labels Oct 18, 2020
@tomas-langer tomas-langer self-assigned this Oct 18, 2020
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@tomas-langer tomas-langer merged commit ff157c9 into helidon-io:master Oct 22, 2020
@tomas-langer tomas-langer deleted the 2461-span-finished-twice branch October 22, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attempt to use a finished span
2 participants