-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
WebFlux pops scope before finishing transaction #2700
Comments
This bug has been there since adding performance for WebFlux in |
We could use An alternative could be to not pop the scope and rely on the hub being garbage collected as we now always clone a new hub from the main hub for every request. |
Things I tried but didn't work:A
Didn't work out because B
Didn't work out because C
Didn't work out because D
Didn't work because Other things we could try
|
Discussed in #2694
Tested on WebFlux with Spring Boot 2.7.5 on our sample.
The
doFinally
blocks ofSentryWebFilter
(should pop scope at the very end) andSentryWebTracingFilter
(should finish the transaction before scope is popped) seem to run in reverse order.The text was updated successfully, but these errors were encountered: