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

Andres de la Peña commented on CASSANDRA-17153:
-----------------------------------------------

Committed to {{trunk}} as 
[935bcf1e8732a4138c15205896945c2f02ddb844|https://github.com/apache/cassandra/commit/935bcf1e8732a4138c15205896945c2f02ddb844].

Thanks for the thorough review.

> Guardrails for collection items and size
> ----------------------------------------
>
>                 Key: CASSANDRA-17153
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17153
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Feature/Guardrails
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 4.x
>
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> Add guardrails for the number of items and size of collections. For example:
> {code}
> # Guardrail to warn or fail when encountering larger size of collection data 
> than threshold.
> # The two thresholds default to 0KiB to disable.
> collection_size_warn_threshold: 0KiB
> collection_size_fail_threshold: 0KiB
> # Guardrail to warn or fail when encountering more elements in collection 
> than threshold.
> # The two thresholds default to -1 to disable.
> items_per_collection_warn_threshold: -1
> items_per_collection_fail_threshold: -1
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to