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

SSTable ignored incorrectly with partition level tombstone

    XMLWordPrintableJSON

    Details

    • Bug Category:
      Correctness - API / Semantic Implementation
    • Severity:
      Critical
    • Since Version:

      Description

      CREATE TABLE test.payload(
        bucket_id TEXT,
        name TEXT,
        data TEXT,
        PRIMARY KEY (bucket_id, name)
      );
      insert into test.payload (bucket_id, name, data) values ('8772618c9009cf8f5a5e0c18', 'test', 'hello');
      

      Flush nodes (nodetool flush)

      insert into test.payload (bucket_id, name, data) values ('8772618c9009cf8f5a5e0c19', 'test2', 'hello');
      delete from test.payload where bucket_id = '8772618c9009cf8f5a5e0c18';
      

      Flush nodes (nodetool flush)

      select * from test.payload where bucket_id = '8772618c9009cf8f5a5e0c18' and name = 'test';
      

      Expected 0 rows but get 1 row back.

        Attachments

        1. 12765.patch
          1 kB
          Cameron Zemek

          Activity

            People

            • Assignee:
              cam1982 Cameron Zemek
              Reporter:
              cam1982 Cameron Zemek
              Authors:
              Cameron Zemek
              Reviewers:
              Marcus Eriksson
            • Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: