Skip to content

Delay returning from RPC handlers on shutdown

Mikhail Mazurskiy requested to merge ash2k/delay-rpc-handlers-stop into master

This addresses a race condition. See https://github.com/grpc/grpc-go/issues/6830 for more background.

Fixes #488 (closed).

I'd like to do some more testing locally with extra gRPC logging enabled.

I've done some testing but it's difficult to reproduce the problem as it's a race. It all works, so it's safe to merge.

Edited by Mikhail Mazurskiy

Merge request reports