You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vincent White (JIRA)" <ji...@apache.org> on 2019/05/21 04:27:00 UTC

[jira] [Created] (CASSANDRA-15134) SASI index files not included in snapshots

Vincent White created CASSANDRA-15134:
-----------------------------------------

             Summary: SASI index files not included in snapshots
                 Key: CASSANDRA-15134
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15134
             Project: Cassandra
          Issue Type: Bug
          Components: Feature/SASI
            Reporter: Vincent White
            Assignee: Vincent White


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\|[https://github.com/vincewhite/cassandra/commit/a641298ad03250d3e4c195e05a93aad56dff8ca7]]|[PoC\|[https://github.com/vincewhite/cassandra/commit/1cfe46688380838e7106f14446658988cfe68137]]|

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org