[
https://issues.apache.org/jira/browse/CASSANDRA-14906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17046126#comment-17046126
]
Ekaterina Dimitrova commented on CASSANDRA-14906:
-------------------------------------------------
Rebase done but there is a bunch of conflicts to be reconsidered.
> FastByteOperations.UnsafeOperations fails to handle read only byte buffers
> correctly
> ------------------------------------------------------------------------------------
>
> Key: CASSANDRA-14906
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14906
> Project: Cassandra
> Issue Type: Bug
> Components: Legacy/Core
> Reporter: Aleksandr Sorokoumov
> Assignee: Aleksandr Sorokoumov
> Priority: Low
> Fix For: 4.x
>
> Attachments: 14906-dtest.png, 14906-testall.png
>
>
> If a buffer is read only it reports having no array, though it may well be
> backed by an array. Code in UnsafeOperation works under the impression that a
> buffer for which hasArray() == false is necessarily a direct buffer. Which is
> not the case.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]