Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.0.0-alpha.4
-
java-client-3.0.0-alpha.4.jar
Description
Scenario:
- Single node cluster, CB bucket (replica=0)
- Create single document:
- Mutate the same doc to append sub-doc. At the end, the document looks as,
Observation:
At step#3 sub-doc mutation, getting the following exception from client. But the mutation succeeds. This is confirmed from the PCAP sub_doc_success_with_sdk_exception.pcapng.
{cas: 0, id: test_sub_docs-0, error: com.couchbase.client.core.error.DecodingFailedException: java.lang.IndexOutOfBoundsException: readerIndex(8) + length(1) exceeds writerIndex(8): AbstractPooledDerivedByteBuf$PooledNonRetainedSlicedByteBuf(ridx: 8, widx: 8, cap: 8/8, unwrapped: PooledUnsafeDirectByteBuf(ridx: 32, widx: 32, cap: 32768)), status: false}
|