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

Index redistribution breaks SASI index

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      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. CASSANDRA-14055-jrwest.patch
          5 kB
          Jordan West
        2. CASSANDRA-14055.patch
          8 kB
          Ludovic Boutros
        3. CASSANDRA-14055.patch
          7 kB
          Ludovic Boutros
        4. CASSANDRA-14055.patch
          10 kB
          Ludovic Boutros
        5. 14055-jrwest-trunk.patch
          6 kB
          Jordan West
        6. 14055-jrwest-3.11.patch
          6 kB
          Jordan West

          Activity

            People

            • Assignee:
              jwest Jordan West Assign to me
              Reporter:
              lboutros Ludovic Boutros
              Authors:
              Jordan West
              Reviewers:
              Jason Brown

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment