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

ThriftConversion doesn't filter custom index options correctly

    XMLWordPrintableJSON

    Details

    • Severity:
      Normal

      Description

      When converting an index definition from schema into the legacy thrift format, the index options are filtered to remove the reserved target option, which is automatically generated by Cassandra. Standard indexes do not support any user supplied options, but in the case of custom indexes (which do) the filtering is not happening correctly. This is due to a simple bug in ThriftConversion::toThrift(CFMetaData, ColumnDefinition) and wasn't caught because the relevant unit test doesn't include any custom index definitions.

        Attachments

          Activity

            People

            • Assignee:
              samt Sam Tunnicliffe
              Reporter:
              samt Sam Tunnicliffe
              Authors:
              Sam Tunnicliffe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: