[ https://issues.apache.org/jira/browse/CASSANDRA-17153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andres de la Peña updated CASSANDRA-17153: ------------------------------------------ Description: 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} was: Add guardrails for the number of items in a collection/UDT and possibly also the size of a collection. For example: {code} # Failure threshold to prevent creating more fields in user-defined-type than threshold. # Defaults -1 to disable. # fields_per_udt_failure_threshold: -1 # Warning threshold to warn when encountering larger size of collection data than threshold. # Defaults -1 to disable. # collection_size_warn_threshold_in_kb: -1 # Warning threshold to warn when encountering more elements in collection than threshold. # Defaults -1 to disable. # items_per_collection_warn_threshold: -1 {code} Summary: Guardrails for collection items and size (was: Guardrails for collection/UDT items and size) > 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 > > 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