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

Single-pass compaction for LCR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0 beta 1
    • None

    Description

      LazilyCompactedRow reads all data twice to compact a row which is obviously inefficient. The main reason we do that is to compute the row header. However, CASSANDRA-2319 have removed the main part of that row header. What remains is the size in bytes and the number of columns, but it should be relatively simple to remove those, which would then remove the need for the two-phase compaction.

      Attachments

        1. scrub-error.txt
          20 kB
          Jason Brown

        Issue Links

          Activity

            People

              jbellis Jonathan Ellis
              slebresne Sylvain Lebresne
              Jonathan Ellis
              Marcus Eriksson
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: