[ https://issues.apache.org/jira/browse/CASSANDRA-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ludovic Boutros updated CASSANDRA-14055: ---------------------------------------- Labels: patch (was: ) Fix Version/s: 3.11.x Reproduced In: 3.11.1, 3.10 (was: 3.10, 3.11.1) Status: Patch Available (was: Open) Here is a first little patch with a unit test and a simple fix. I have somme issues with the unit test "SASIIndexTest.testIndexMemtableSwitching". It works alone, but fails if the whole test is runned. Any help would be really appreciated. > Index redistribution breaks SASI index > -------------------------------------- > > Key: CASSANDRA-14055 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14055 > Project: Cassandra > Issue Type: Bug > Components: sasi > Reporter: Ludovic Boutros > Labels: patch > Fix For: 3.11.x > > > 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] -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org