cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13298) DataOutputBuffer.asNewBuffer broken
Date Sun, 05 Mar 2017 12:46:32 GMT

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

Robert Stupp updated CASSANDRA-13298:
-------------------------------------
    Status: Patch Available  (was: Open)

||cassandra-3.11|[branch|https://github.com/apache/cassandra/compare/cassandra-3.11...snazy:13298-asNewBuffer-3.11]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-13298-asNewBuffer-3.11-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-13298-asNewBuffer-3.11-dtest/lastSuccessfulBuild/]
||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...snazy:13298-asNewBuffer-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-13298-asNewBuffer-trunk-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-13298-asNewBuffer-trunk-dtest/lastSuccessfulBuild/]


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

Mime
View raw message