[jira] [Commented] (CASSANDRA-17551) Allow 0 to be used in collection_size guardrails in order to prohibit collections

2022-10-06 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17551:
-

I do not think we will work on this really any time soon. Closing for now. We 
can reopen/open new one in case we get back to this idea. 

> 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.10#820010)

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



[jira] [Commented] (CASSANDRA-17551) Allow 0 to be used in collection_size guardrails in order to prohibit collections

2022-04-22 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17551:
-

We had further discussion with [~adelapena] and he has a good point that we 
already have feature flags like "materialized_views_enabled" so disabling 
collections with 0 will diverge from our current approach.

This will require broader discussion and consideration. Not doing this patch at 
the moment. We can start discussion and more work for the next release, now we 
have only a week until freeze so it will be a rush. Moving the ticket back to 
open and marking it 5.x

> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-17551) Allow 0 to be used in collection_size guardrails in order to prohibit collections

2022-04-20 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17551:
-

I just updated the description. One side effect of having this:

- if warn is o but fail is not - then we will warn every time but fail at the 
fail threshold

- if warn and fail are 0 - we just prohibit them. 

> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org