[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-17 Thread Jira


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

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

Committed to trunk as 
[bae92ee139b411c94228f8fd5bb8befb4183ca9f|https://github.com/apache/cassandra/commit/bae92ee139b411c94228f8fd5bb8befb4183ca9f].

Thanks for the review.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> 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.1
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-17 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17195:
-

Looks great, thanks!

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-17 Thread Jira


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

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

All green in that last run, I'll commit in a bit.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-17 Thread Jira


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

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

I have just added an entry in NEWS.txt about the deprecation of the two 
properties in favour of the analogous guardrails. I have also added a detailed 
commit message about the changes. A final round of CI after rebase+squash:

||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/1356]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1220/workflows/d6908d91-3c0a-40e6-9d72-fb3f3ced3b88]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1220/workflows/444d16e1-7d92-4eb1-836c-3a9b0bc7aa36]|

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-16 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17195:
-

Almost forgot... please add an entry in NEWS.txt on commit, thanks.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-16 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17195:
-

+1 on the patch, thank you!

I was about to say that we had in the past - CASSANDRA-16970 closed while 
keeping an eye on failThresholdSinglePartition. Thank you for opening a new 
ticket.

The other failure is already reported one under CASSANDRA-16061.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-16 Thread Jira


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

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

The previous run for j11 shows a failure for 
{{{}LocalReadSizeWarningTest#failThresholdSinglePartition{}}}, which has a 
similar name but is a different area of the code. The failure can be reproduced 
in trunk as it's shown by [this 
run|https://app.circleci.com/pipelines/github/adelapena/cassandra/1219/workflows/a0c1fb7f-8a07-4fcf-97a4-7caf207dad78].
 I have opened CASSANDRA-17217 to deal with that test.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-16 Thread Jira


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

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

I have rebased the PR branch to include the new guardrail added by 
CASSANDRA-17189, CI is running for 
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1217/workflows/df29aa61-5171-4ee7-a214-d36d507ce5af]
 and 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1217/workflows/b366e352-0862-485a-acdc-5b75fe1ef575].

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-16 Thread Jira


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

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

bq. Only that materialized view related test I can't remember seeing it failing 
but I am not sure also it can be related. As a minimum  we need to open at 
least a ticket for it. 
I have created CASSANDRA-17216 for the failure in 
{{test_drop_with_stopped_build}}, it can also be reproduced in trunk.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-16 Thread Jira


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

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

Thanks for the review, I have tried to address your suggestions and questions 
on the PR.

I have run CI again for 
[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1214/workflows/ebf4ca11-347b-4bf1-8567-b81f7b579cc1]
 and 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1214/workflows/fd696614-0f2f-4eef-9d44-b1e84e258aaf].
 I'll open a ticket for that MV test in a bit.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-15 Thread Ekaterina Dimitrova (Jira)


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

Ekaterina Dimitrova commented on CASSANDRA-17195:
-

Thanks [~adelapena] , overall looks good and the logging improvement seems 
reasonable. Thanks!

I left a few small suggestions and questions on the PR.

The CI run look fine. Only that materialized view related test I can't remember 
seeing it failing but I am not sure also it can be related. Probably as a 
minimum we need to open at least a ticket for it. 

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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



[jira] [Commented] (CASSANDRA-17195) Migrate thresholds for number of keyspaces and tables to guardrails

2021-12-08 Thread Jira


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

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

||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/1356]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1207/workflows/9f8f6e04-426e-4454-b65f-d6cb84c8cbdf]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1207/workflows/86bfc98a-fa66-40ff-a996-45323b2b8a3f]|

The proposed PR adds a new {{keyspaces}} guardrail. The guardrail for the 
number of tables was already added by CASSANDRA-17147.

As for migrating from [the equivalent 
thresholds|https://github.com/apache/cassandra/blob/cassandra-4.0.1/conf/cassandra.yaml#L1416-L1420]
 that were added by CASSANDRA-16309 in 4.0-beta4, I have left them marked as 
deprecated so we can drop them in the next major.

The PR includes some little changes in {{GuardrailOptions}} to ensure that the 
error messages thrown by config validation consistently use the flat version of 
the names of those properties in {{{}cassandra.yaml{}}}, e.g. 
{{{}guardrails.tables.warn_threshold{}}}. These names will be used in errors 
thrown during startup, when setting the properties through JMX, and probably in 
the future when we add configuration through virtual tables.

I have also done some minor refactoring moving the interfaces 
{{Threshold.Config}} and {{Values.Config}} into the {{GuardrailsConfig}} 
interface. So now we have {{GuardrailsConfig.IntThreshold}} and 
{{GuardrailsConfig.TableProperties}} instead. That decouples the general 
guardrail classes ({{{}Threshold{}}} and {{{}Values{}}}) from the particular 
configuration of their particular instances, and we use the {{Guardrails}} 
entry point to link them. This will be useful when we add new guardrails for 
different data types, such as for example the guardrail for column size, which 
will probably need methods with a different signature than the current ones in 
{{{}Threshold.Config{}}}, such as 
{{{}getWarnThresholdInKb{}}}/{{{}getAbortThresholdInKb{}}}. With this change 
the {{Threshold}} and {{Values}} classes will be isolated from those new 
configs.

Finally, I have observed that the current warn thresholds for the number of 
keyspaces and tables log [{{INFO}} 
messages|https://github.com/apache/cassandra/blob/31bea0b0d41e4e81095f0d088094f03db14af490/src/java/org/apache/cassandra/service/StorageService.java#L6180]
 when the threshold is updated. {{TrackWarnings}} [does the 
same|https://github.com/apache/cassandra/blob/31bea0b0d41e4e81095f0d088094f03db14af490/src/java/org/apache/cassandra/service/StorageService.java#L6210],
 although with a slightly different format. This is a nice feature that we miss 
in guardrails so I'm adding it. I have centralized this type of logging into [a 
single 
method|https://github.com/apache/cassandra/blob/6b8bb45b4121e75396ee31d3cea9006ff5bd47a6/src/java/org/apache/cassandra/config/GuardrailsOptions.java#L144-L152]
 so we can be sure that the format of the logged messages is always the same.

> Migrate thresholds for number of keyspaces and tables to guardrails
> ---
>
> Key: CASSANDRA-17195
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17195
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Feature/Guardrails
>Reporter: Andres de la Peña
>Assignee: Andres de la Peña
>Priority: Normal
>
> Migrate the existing thresholds for the number of keyspaces and tables:
> {code}
> # table_count_warn_threshold: 150
> # keyspace_count_warn_threshold: 40
> {code}
> to a new guardrail under the guardrails section, for example:
> {code}
> guardrails:
> keyspaces:
> warn_threshold: 40
> abort_threshold: -1
> tables:
> warn_threshold: 150
> abort_threshold: -1
> {code}
> Please note that CASSANDRA-17147 has already added a guardrail for the number 
> of tables, but the previous not-guardrail threshold for warning about the 
> number of tables still exists.



--
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