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

SASI tokenizer options not validated before being added to schema

    XMLWordPrintableJSON

Details

    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

            stefan.miklosovic Stefan Miklosovic
            VincentWhite Vincent White
            Stefan Miklosovic
            Andres de la Peña
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m