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

handle skipping bad rows in LazilyCompacted path

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.7.0 rc 1
    • Component/s: None
    • Labels:
      None

      Description

      it's easy to handle skipping bad rows during compation in the PreCompacted (merged-in-memory) path and we have done this for a long time. It is harder in the LazilyCompacted path since we have already started writing data when we discover that some of the source rows cannot be deserialized. This adds mark/reset to SSTableWriter so compaction can skip back to the beginning in these circumstances.

        Attachments

        1. 1702.txt
          7 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              jbellis Jonathan Ellis
              Authors:
              Jonathan Ellis
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: