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

CompressedSequentialWriter.resetAndTruncate can lose data

    XMLWordPrintableJSON

    Details

    • Severity:
      Critical

      Description

      If the FileMark passed into this method fully fills the buffer, a subsequent call to write will reBuffer and drop the data currently in the buffer. We need to mark the buffer contents as dirty in resetAndTruncate to prevent this - see CASSANDRA-8709 notes for details.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JoshuaMcKenzie Joshua McKenzie
                Reporter:
                JoshuaMcKenzie Joshua McKenzie
                Authors:
                Joshua McKenzie
                Reviewers:
                T Jake Luciani
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: