Skip to content

Audit/Fix graceful client shutdown in Netty #2907

@ejona86

Description

@ejona86

Based on https://groups.google.com/d/topic/grpc-io/6e0GFRSWit8/discussion and the code, it seems that channel.shutdown() when using Netty transport kills open streams.

gracefulClose() calls close() which waits for gracefulShutdownTimeoutMillis. It seems we should either set the grace time to infinity or delay calling close until after all the streams are closed.

We need to investigate why AbstractTransportTest.openStreamPreventsTermination() failed to notice this.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions