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

Caleb Rackliffe commented on CASSANDRA-19493:
---------------------------------------------

Made some [progress|https://github.com/apache/cassandra/pull/3241] on this 
today, but there are still lots of tests to write. The basic approach is going 
to be to have string/frozen/vector guardrails for their respective term types, 
and use the standard {{MaxThreshold}} pattern. In terms of how we approach 
already existing data, I've more or less maintained the behavior we already had 
in place, although the max term sizes come from the guardrail fail thresholds 
now instead of system properties.

> Optionally fail writes when SAI refuses to index a term value exceeding 
> configured term max size
> ------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19493
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19493
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/SAI
>            Reporter: Caleb Rackliffe
>            Assignee: Caleb Rackliffe
>            Priority: Normal
>             Fix For: 5.0-rc, 5.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> SAI currently emits a client warning when we try to index a text value larger 
> than {{{}cassandra.sai.max_string_term_size{}}}. It might be nice to have a 
> hard limit as well, above which we can reject the mutation entirely.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to