You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2021/08/16 12:59:00 UTC

[jira] [Commented] (CASSANDRA-15135) SASI tokenizer options not validated before being added to schema

    [ https://issues.apache.org/jira/browse/CASSANDRA-15135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17399742#comment-17399742 ] 

Andres de la Peña commented on CASSANDRA-15135:
-----------------------------------------------

Sure, I'll take a look

> SASI tokenizer options not validated before being added to schema
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-15135
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15135
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/SASI
>            Reporter: Vincent White
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>
> If you attempt to create a SASI index with an illegal argument combination the index will be added to the schema tables before trying instantiate the tokenizer which causes a RuntimeException. Since the index was written to the schema tables, cassandra will hit the same exception and fail to start when it tries to load the schema on boot.
>  The branch below includes a unit test to reproduce the issue.
> ||3.11||
> |[PoC|https://github.com/vincewhite/cassandra/commit/089547946d284ae3feb0d5620067b85b8fd66ebc]|
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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