-
Notifications
You must be signed in to change notification settings - Fork 3k
[3.20] Make sure we propagate context locals from REST server to clients #49163
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
Conversation
…ient There's a change in Vert.x 4.5.14+ that stops copying context locals from the parent to the child duplicated contexts, so we have to do it via nested contexts (where we manually copy the locals). This is required for things like propagating HR transactions/sessions.
/cc @aloubyansky (3.20), @gastaldi (3.20), @gsmet (3.20), @jmartisk (3.20), @rsvoboda (3.20) |
Status for workflow
|
@FroMage isn't it something we will need to push to 3.15 too? I think we also upgraded Vert.x there. |
I can check. |
Ah yes, in both cases it's |
…ient There's a change in Vert.x 4.5.14+ that stops copying context locals from the parent to the child duplicated contexts, so we have to do it via nested contexts (where we manually copy the locals). This is required for things like propagating HR transactions/sessions. From @gsmet: Apparently, 3.15 is not affected but it's nice to have a test. Related to quarkusio#49163 and quarkusio#49133
This includes the fix by @cescoffier as well as a new test from me.
Fixes #49133
@gsmet I'll make another PR against
main
with just the test, since the fix is already there.