This is an automated email from the ASF dual-hosted git repository.
erickramirezau pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git
The following commit(s) were added to refs/heads/trunk by this push:
new deba84f6 Fixed incorrect tables threshold in Guardails blogpost
deba84f6 is described below
commit deba84f6ea40b890b0353128d45249d27184491e
Author: Erick Ramirez <[email protected]>
AuthorDate: Sat Oct 22 22:22:02 2022 +0000
Fixed incorrect tables threshold in Guardails blogpost
patch by Erick Ramirez; reviewed by Stefano Lottini for CASSANDRA-17936
---
.../blog/Apache-Cassandra-4.1-Features-Guardrails-Framework.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/site-content/source/modules/ROOT/pages/blog/Apache-Cassandra-4.1-Features-Guardrails-Framework.adoc
b/site-content/source/modules/ROOT/pages/blog/Apache-Cassandra-4.1-Features-Guardrails-Framework.adoc
index c0dfcd40..3cb11b88 100644
---
a/site-content/source/modules/ROOT/pages/blog/Apache-Cassandra-4.1-Features-Guardrails-Framework.adoc
+++
b/site-content/source/modules/ROOT/pages/blog/Apache-Cassandra-4.1-Features-Guardrails-Framework.adoc
@@ -70,7 +70,7 @@ Warnings :
Guardrail tables violated: Creating table t6, current number of tables 6
exceeds warning threshold of 5.
```
-However, if the hard limit is reached, the user operation will be aborted with
a `GuardrailViolatedException`, preventing the potentially harmful operation
from happening. Continuing with the previous example, if we have a hard limit
of ten tables (`tables_warn_threshold: 10`) and we try to create an eleventh
table, we will see an error and the eleventh table won’t be created:
+However, if the hard limit is reached, the user operation will be aborted with
a `GuardrailViolatedException`, preventing the potentially harmful operation
from happening. Continuing with the previous example, if we have a hard limit
of ten tables (`tables_fail_threshold: 10`) and we try to create an eleventh
table, we will see an error and the eleventh table won’t be created:
```
cqlsh> CREATE TABLE k.t11 (k int PRIMARY KEY, v int);
@@ -133,4 +133,4 @@ At this time, there are guardrails for:
It is worth mentioning that many of these guardrails were added in the last
few months, some of them by newcomers to the project. That, in my opinion,
indicates how easy it is to add new guardrails, and we expect to see many more
guardrails in the future.
-If you have ideas for new guardrails, please feel free
https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310865&issuetype=4[to
log a ticket^] with details of your proposal and we would be happy to look
into it.
\ No newline at end of file
+If you have ideas for new guardrails, please feel free
https://issues.apache.org/jira/secure/CreateIssue.jspa?pid=12310865&issuetype=4[to
log a ticket^] with details of your proposal and we would be happy to look
into it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]