You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2017/03/05 12:44:32 UTC

[jira] [Created] (CASSANDRA-13298) DataOutputBuffer.asNewBuffer broken

Robert Stupp created CASSANDRA-13298:
----------------------------------------

             Summary: DataOutputBuffer.asNewBuffer broken
                 Key: CASSANDRA-13298
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13298
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Stupp
            Assignee: Robert Stupp
            Priority: Minor
             Fix For: 3.11.x


The implementation of {{DataOutputBuffer.asNewBuffer()}} reuses the underlying {{ByteBuffer}} array. This is probably not an issue, but it is definitely incorrect and may lead to incorrect/overwritten information returned by {{SystemKeyspace.truncationAsMapEntry}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)