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

Stale entries not purged from CompositesIndex

    XMLWordPrintableJSON

Details

    • Normal

    Description

      Since CASSANDRA-9975, the cleanup of stale index entries at read time has been broken for CompositesIndex instances (KeysIndex is not affected).
      The issue is that the call to deleteAllEntries is made in the onClose method of the anonymous Transformation, where it should be in onPartitionClose. This wasn't caught by the existing unit test (o.a.c.db.SecondaryIndexTest::testDeleteOfInconsistentValuesInKeysIndex as it only checks that the stale entries are filtered from the returned results, not that they are actually purged from the index tables.

      Attachments

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: