[ 
https://issues.apache.org/jira/browse/CASSANALYTICS-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057424#comment-18057424
 ] 

Jyothsna Konisa commented on CASSANALYTICS-116:
-----------------------------------------------

CI is green
https://app.circleci.com/pipelines/github/jyothsnakonisa/cassandra-analytics/29/workflows/4f543424-7abd-4ef7-a214-845c92b4404e

> Fix ByteBuffer flip() in StreamBuffer.copyBytes() causing data corruption
> -------------------------------------------------------------------------
>
>                 Key: CASSANALYTICS-116
>                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-116
>             Project: Apache Cassandra Analytics
>          Issue Type: New Feature
>            Reporter: Jyothsna Konisa
>            Assignee: Jyothsna Konisa
>            Priority: Normal
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> CdcRandomAccessReader.rebuffer() fails with assertion error when filling 
> buffers that require multiple chunks:
>   assert buffer.remaining() == 0;  // FAILS - buffer still has remaining 
> capacity
>  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