[
https://issues.apache.org/jira/browse/CASSANDRA-17551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ekaterina Dimitrova updated CASSANDRA-17551:
--------------------------------------------
Description: Allow 0 to be used in collection_size guardrails in order to
prohibit collections (was: # The two thresholds default to 0KiB to disable.
# collection_size_warn_threshold: 0KiB
# collection_size_fail_threshold: 0KiB
0KiB should be used to prohibit collections and not to disable the guardrail.
Disabled should be null as we moved to that as part of CASSANDRA-17431 while
investigating other config corner cases.
Old config which had -1 for disable will be converted internally to null with
the new config types and new config should use null for disable. Of course,
disabling 0 as a non-valid value is a different story which should be handled
on per-case basis. )
> Allow 0 to be used in collection_size guardrails in order to prohibit
> collections
> ---------------------------------------------------------------------------------
>
> Key: CASSANDRA-17551
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17551
> Project: Cassandra
> Issue Type: Improvement
> Components: Feature/Guardrails
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 4.x
>
>
> Allow 0 to be used in collection_size guardrails in order to prohibit
> collections
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]