-
Notifications
You must be signed in to change notification settings - Fork 15
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
Stream max-lifetime feature should ensure clean exit #6
Comments
Failure is seen in #4.
|
Merged
See @moh-osman3's investigation in grpc/grpc-go#6504 |
jmacd
added a commit
that referenced
this issue
Aug 24, 2023
…_stream_lifetime (#23) As discussed in grpc/grpc-go#6504, the client should add jitter when configuring `max_connection_age_grace` because we expect each stream will create a new connection. Since connection storms will not be spread automatically by gRPC in this case, apply client jitter. Part of #6.
jmacd
changed the title
Stream max-lifetime feature moving to server-side & test flakiness
Stream max-lifetime feature should ensure clean exit
Aug 25, 2023
jmacd
pushed a commit
that referenced
this issue
Aug 31, 2023
Fixes #6 Applying learning from grpc/grpc-go#6504 (comment), which pointed out that the server is return EOF directly when the client calls CloseSend(), which is causing an error signal on spans. Instead the server should check if it received EOF from client (indicating CloseSend() was called) and send StatusOK to the client. The client will know to restart the stream when it gets a response with `batchID=-1` and `status=OK`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@moh-osman3 Has been working on f5/otel-arrow-adapter#211 which was in-flight when this repository migration began. @lquerel had asked for the mechanism to be configurable on the server side, which made more sense to @moh-osman3 and me after we studied the problem further. @moh-osman3 will rebase that work into this repository.
Meanwhile, there is one flaky test that I will ignore to move forward with the migration.
The text was updated successfully, but these errors were encountered: