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

Index redistribution breaks SASI index

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 3.11.3, 4.0
    • Component/s: sasi
    • Labels:

      Description

      During index redistribution process, a new view is created.
      During this creation, old indexes should be released.

      But, new indexes are "attached" to the same SSTable as the old indexes.

      This leads to the deletion of the last SASI index file and breaks the index.

      The issue is in this function : https://github.com/apache/cassandra/blob/9ee44db49b13d4b4c91c9d6332ce06a6e2abf944/src/java/org/apache/cassandra/index/sasi/conf/view/View.java#L62

        Attachments

        1. 14055-jrwest-trunk.patch
          6 kB
          Jordan West
        2. 14055-jrwest-3.11.patch
          6 kB
          Jordan West
        3. CASSANDRA-14055-jrwest.patch
          5 kB
          Jordan West
        4. CASSANDRA-14055.patch
          10 kB
          Ludovic Boutros
        5. CASSANDRA-14055.patch
          7 kB
          Ludovic Boutros
        6. CASSANDRA-14055.patch
          8 kB
          Ludovic Boutros

          Issue Links

            Activity

              People

              • Assignee:
                jrwest Jordan West
                Reporter:
                lboutros Ludovic Boutros
                Reviewer:
                Jason Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: