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

SASI index files not included in snapshots

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage Needed
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Feature/SASI
    • Labels:
      None
    • Severity:
      Normal
    • Discovered By:
      Adhoc Test
    • Platform:
      All
    • Impacts:
      None
    • Since Version:
      3.4

      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.

      3.11 Trunk
      PoC PoC

       

        Attachments

          Activity

            People

            • Assignee:
              VincentWhite Vincent White
              Reporter:
              VincentWhite Vincent White
              Authors:
              Vincent White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: