[
https://issues.apache.org/jira/browse/CASSSIDECAR-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jyothsna Konisa updated CASSSIDECAR-405:
----------------------------------------
Fix Version/s: 0.3
Source Control Link:
https://github.com/apache/cassandra-sidecar/commit/6063d0e90e3add43a7ea7d9cc8f89092adf7e831
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> 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
> Components: CDC
> Reporter: Jyothsna Konisa
> Assignee: Jyothsna Konisa
> Priority: Major
> Fix For: 0.3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]