Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15135

SASI tokenizer options not validated before being added to schema

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage Needed
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Feature/SASI
    • Labels:
      None
    • Discovered By:
      Adhoc Test
    • Platform:
      All
    • Impacts:
      None
    • Since Version:
      3.4

      Description

      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

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              VincentWhite Vincent White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: