mirror of https://github.com/grpc/grpc.git
[ConfigFetcher] Set HTTP2 error to NO_ERROR to do graceful GOAWAYs (#37939)
We were not doing graceful GOAWAYs earlier where we -
* send a GOAWAY with max stream ID
* send PING to wait for RTT
* Finally, send a GOAWAY with last stream max ID to make sure that the peer has seen the first GOAWAY frame, and any RPCs started before receiving the first GOAWAY frame are handled.
Without explicitly setting the HTTP2 error to "NO_ERROR", we were instead sending a final GOAWAY frame with an "UNKNOWN_ERROR".
Sample test failure : https://btx.cloud.google.com/invocations/041cafcd-334b-42dd-a797-cfd03c53048e/targets/%2F%2Ftest%2Fcpp%2Fend2end%2Fxds:xds_end2end_test@poller%3Dpoll;config=f78d0de70f525043d29a05fb7a78970999e04b7f8a87d8c4e974688bf7616998/log
Closes #37939
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37939 from yashykt:SendGoawayNoHttp2Error ba47fede1b
PiperOrigin-RevId: 686949684
pull/37944/head
parent
7e06934192
commit
5c5bf14fde
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue