Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

RntbdRequestManager.channelUnregistered must complete pending requests exceptionally #163

Closed David-Noble-at-work closed 5 years ago

David-Noble-at-work commented 5 years ago

ISSUE: When a connection is reset (closed) by a peer the Netty framework shuts down the channel with a ChannelClosedException, skipping calls to RntbdRequestManger.exceptionCaught and RntbdRequestManager.close. Consequently, pending requests, if any, are not released and RntbdRequestManger.channelUnregistered throws an IllegalStateException.

RESOLUTION: RntbdRequestManager.channelUnregistered should

anandvarkeyphilips commented 3 years ago

Is this fixed and released already? I got an error with message: closed exceptionally with 1 pending requests