JAVA-6358ClosedGone away
Netty transport: write on a server-closed connection with timeoutMS set throws non-retryable MongoInternalException (NoSuchElementException in addWriteTimeoutHandler)
h3. Summary With {{timeoutMS}} set and the Netty transport, a write on a pooled connection that the far side closed while idle fails with a non\-retryable {{MongoInternalException}} instead of a retryable {{MongoSocketException}}. Reported in HELP\-102596 \(reactive\-streams 5.6.5\). Reproduced on 5.6.5 and 5.14.0; {{NettyStream}} is unchanged on {{main}}. h3. Cause - Server closes an idle pooled connection. Netty's {{DefaultChannelPipeline}} destroys the pipeline on unregister. -