You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2021/11/15 18:40:00 UTC

[jira] [Created] (CASSANDRA-17153) Guardrail for collection/UDT items and size

Andres de la Peña created CASSANDRA-17153:
---------------------------------------------

             Summary: Guardrail for collection/UDT 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


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}



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

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