[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jyothsna Konisa updated CASSSIDECAR-405:
----------------------------------------
    Status: Ready to Commit  (was: Review In Progress)

> 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
>          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]

Reply via email to