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

Index redistribution breaks SASI index

    XMLWordPrintableJSON

Details

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

        Issue Links

          Activity

            People

              jwest Jordan West
              lboutros Ludovic Boutros
              Jordan West
              Jason Brown
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m