-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix gRPC context propagation #32164
Fix gRPC context propagation #32164
Conversation
@cescoffier wait with the merge ... let me test this on blocking methods as well ... |
9cc82c2
to
f12e7ad
Compare
@cescoffier OK, added a blocking test, ad it worked ootb |
This comment has been minimized.
This comment has been minimized.
1798c97
to
8ca4c0b
Compare
This comment has been minimized.
This comment has been minimized.
8ca4c0b
to
a66a014
Compare
This comment has been minimized.
This comment has been minimized.
d4592bf
to
ce72b55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except the logger api
...ntime/src/main/java/io/quarkus/grpc/runtime/supports/blocking/BlockingServerInterceptor.java
Outdated
Show resolved
Hide resolved
e6a420a
to
cedf386
Compare
This comment has been minimized.
This comment has been minimized.
949da3f
to
1ed7cb2
Compare
This comment has been minimized.
This comment has been minimized.
1ed7cb2
to
36b1926
Compare
This comment has been minimized.
This comment has been minimized.
@alesj can you rebase, just to be sure? |
36b1926
to
5f4901a
Compare
This comment has been minimized.
This comment has been minimized.
5f4901a
to
fefb06c
Compare
This comment has been minimized.
This comment has been minimized.
Whats the status of this? If it's ready to be merged, please rebase once more and then add the |
No it's not. There is a race somewhere. |
Understood, thanks |
@alesj do you believe we can make the race more easily reproducible? |
It’s been a while, but I remember I saw it quite often.
As all race conditions, it’s not easy to reproduce though. :-)
…On Sun, 15 Oct 2023 at 17:47, Clement Escoffier ***@***.***> wrote:
@alesj <https://github.com/alesj> do you believe we can make the race
more easily reproducible?
—
Reply to this email directly, view it on GitHub
<#32164 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACRA6ASB55AL5B6A2SMKODX7QARDANCNFSM6AAAAAAWJKKZF4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
fefb06c
to
b977228
Compare
@alesj I just pushed a one-line-fix. When creating a new context, you need to attach it explicitly. Thanks to the duplicated context handling, it will attach it to the duplicated context of the call. |
This comment has been minimized.
This comment has been minimized.
b977228
to
c2e2b7e
Compare
Failing Jobs - Building c2e2b7e
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 17 Windows #- Failing: integration-tests/rest-client integration-tests/rest-client-reactive
📦 integration-tests/rest-client✖
📦 integration-tests/rest-client-reactive✖
|
This fixes #32046 issue.