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

SSTable ignored incorrectly with partition level tombstone

    XMLWordPrintableJSON

Details

    • Correctness - API / Semantic Implementation
    • Critical

    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

            cam1982 Cameron Zemek
            cam1982 Cameron Zemek
            Cameron Zemek
            Marcus Eriksson
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: