Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13298

DataOutputBuffer.asNewBuffer broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.11.0
    • None
    • None
    • Low

    Description

      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.

      Attachments

        Activity

          People

            snazy Robert Stupp
            snazy Robert Stupp
            Robert Stupp
            Stefania Alborghetti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: