[
https://issues.apache.org/jira/browse/CASSANDRA-14055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362284#comment-16362284
]
Jason Brown commented on CASSANDRA-14055:
-----------------------------------------
[~jrwest] patch does not compile on trunk. can you take a look?
{noformat}
build-test:
[javac] Compiling 587 source files to
/orig/opt/dev/cassandra/build/test/classes
[javac]
/orig/opt/dev/cassandra/test/unit/org/apache/cassandra/index/sasi/SASIIndexTest.java:946:
error: cannot find symbol
[javac] int minIndexInterval =
store.metadata.params.minIndexInterval;
[javac] ^
[javac] symbol: variable params
[javac] location: variable metadata of type TableMetadataRef
[javac]
/orig/opt/dev/cassandra/test/unit/org/apache/cassandra/index/sasi/SASIIndexTest.java:955:
error: cannot find symbol
[javac] store.metadata.minIndexInterval(minIndexInterval);
[javac] ^
[javac] symbol: method minIndexInterval(int)
[javac] location: variable metadata of type TableMetadataRef
[javac]
/orig/opt/dev/cassandra/test/unit/org/apache/cassandra/index/sasi/SASIIndexTest.java:961:
error: cannot find symbol
[javac] store.metadata.minIndexInterval(minIndexInterval);
[javac] ^
[javac] symbol: method minIndexInterval(int)
[javac] location: variable metadata of type TableMetadataRef
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
{noformat}
> 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
> Assignee: Ludovic Boutros
> Priority: Major
> Labels: patch
> Fix For: 3.11.x
>
> Attachments: CASSANDRA-14055-jrwest.patch, CASSANDRA-14055.patch,
> CASSANDRA-14055.patch, CASSANDRA-14055.patch
>
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]