Jyothsna Konisa created CASSSIDECAR-405:
-------------------------------------------
Summary: Fix ByteBuffer flip() in StreamBuffer.copyBytes() causing
data corruption
Key: CASSSIDECAR-405
URL: https://issues.apache.org/jira/browse/CASSSIDECAR-405
Project: Sidecar for Apache Cassandra
Issue Type: New Feature
Reporter: Jyothsna Konisa
The copyBytes(int sourceOffset, ByteBuffer destination, int length) method in
both StreamBuffer.ByteArrayWrapper and VertxStreamBuffer calls
destination.flip() after writing data, which is affecting multiple chunk
reading into the buffer as the offset gets flipped after each copy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]