[
https://issues.apache.org/jira/browse/CASSANDRA-9057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carl Yeksigian updated CASSANDRA-9057:
--------------------------------------
Attachment: 9057-2.1-v2.txt
New patch which tests the indexed value as well as the index key to make sure
that neither are over 64k. This address indexes on collections, as well as
oversized partition keys.
Got rid of the change to the {{SecondaryIndexCellSizeTest}}; the additions to
the {{IndexedValuesValidationTest}} were easier to read and better tested the
change. The other comments were also addressed in this patch.
> index validation fails for non-indexed column
> ---------------------------------------------
>
> Key: CASSANDRA-9057
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9057
> Project: Cassandra
> Issue Type: Bug
> Reporter: Eric Evans
> Assignee: Carl Yeksigian
> Fix For: 2.1.5
>
> Attachments: 9057-2.1-v2.txt, 9057-2.1.txt
>
>
> On 2.1.3, updates are failing with an InvalidRequestException when an
> unindexed column is greater than the maximum allowed for indexed entries.
> {noformat}
> ResponseError: Can't index column value of size 1483409 for index null on
> local_group_default_T_parsoid_html.data
> {noformat}
> In this case, the update _does_ include a 1483409 byte column value, but it
> is for a column that is not indexed, (the single indexed column is < 32
> bytes), presumably this is why
> {{cfm.getColumnDefinition(cell.name()).getIndexName()}} returns {{null}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)