[ 
https://issues.apache.org/jira/browse/CASSANDRA-15134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vincent White updated CASSANDRA-15134:
--------------------------------------
    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|https://github.com/vincewhite/cassandra/commit/a641298ad03250d3e4c195e05a93aad56dff8ca7]|[PoC|https://github.com/vincewhite/cassandra/commit/1cfe46688380838e7106f14446658988cfe68137]|

 

  was:
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]]|

 


> 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
>            Priority: Low
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to