io.netty.util.IllegalReferenceCountException after upgrading azure-cosmos from v4.53.1 to v4.56.0 [BUG] #39252
Labels
Client
This issue points to a problem in the data-plane of the library.
Cosmos
cosmos-java-ecosystem-dt-planning
Considered for Dilithium semester planning
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
After upgrading azure-cosmos library's version from v4.53.1 to v4.56.0, our application started encountering
io.netty.util.IllegalReferenceCountException
intermittently.Exception or Stack Trace
To Reproduce
Steps to reproduce the behavior:
Use com.azure:azure-cosmos:4.56.0
Create Cosmos client using gateway mode.
Save Json document using the code snippet provided below at throughput shared in the screenshot.
Our Json document size is not more than 4KB.
Sample Document
Code Snippet
Expected behavior
Library should be able to save the document without the reported error.
Screenshots
Correlation between error encountered by the application and request throughput at container
Setup (please complete the following information):
Additional context
The change related to PR #38072 must be causing this issue. I also found a couple of year old issue #9802 which talks about the same error.
cc: @FabianMeiswinkel @kushagraThapar
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: