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

SASI index files not included in snapshots

    XMLWordPrintableJSON

Details

    Description

      Newly written SASI index files are not being included in snapshots. This is because the SASI index files are not added to the components (org.apache.cassandra.io.sstable.SSTable#components) list of newly written sstables. 

      Although I don't believe anything except snapshots ever tries to reference the SASI index files from this location, on startup Cassandra does add the SASI index files (if they are found on disk) of existing sstables in their components list. In that case sstables that existed on startup with SASI index files will have their SASI index files included in any snapshots.

       

      This patch updates the components list of newly written sstable once the index is built.

       

      Attachments

        Activity

          People

            stefan.miklosovic Stefan Miklosovic
            VincentWhite Vincent White
            Stefan Miklosovic
            Andres de la Peña, Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            5 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 - 50m
                50m