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

Add primary key liveness info when skipping illegal cells

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.20, 3.11.6
    • Component/s: Local/SSTable
    • Labels:
      None

      Description

      In CASSANDRA-15086/CASSANDRA-15178 we started skipping the illegal legacy cells, problem is that if the row only contains illegal cells, we return a totally empty row which breaks stats collection: https://github.com/apache/cassandra/blob/93815db9853cb592edf13d82e91dc2e9d172f01f/src/java/org/apache/cassandra/db/rows/Rows.java#L70

      If the row only has these invalid cells, we should add a primary key liveness info to it to match the 2.1 behaviour.

        Attachments

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              marcuse Marcus Eriksson
              Authors:
              Marcus Eriksson, Sam Tunnicliffe
              Reviewers:
              Benedict Elliott Smith, Sam Tunnicliffe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: