ekaterinadimitrova2 commented on a change in pull request #1321:
URL: https://github.com/apache/cassandra/pull/1321#discussion_r761513388



##########
File path: conf/cassandra.yaml
##########
@@ -1571,3 +1571,41 @@ enable_drop_compact_storage: false
 #     row_index_size:
 #         warn_threshold_kb: 0
 #         abort_threshold_kb: 0
+
+# Guardrails settings.
+guardrails:
+
+    # Whether guardrails are enabled or not. Guardrails are disabled by 
default.
+    enabled: false
+
+    # Guardrail to warn or abort when creating more user tables than threshold.
+    # The two thresholds default to -1 to disable.
+    tables:
+        warn_threshold: -1
+        abort_threshold: -1
+
+    # Guardrail to warn or abort when creating/altering a table with more 
columns per table than threshold.
+    # The two thresholds default to -1 to disable.
+    columns_per_table:
+        warn_threshold: -1
+        abort_threshold: -1
+
+    # Guardrail to warn or abort when creating more secondary indexes per 
table than threshold.
+    # The two thresholds default to -1 to disable.
+    secondary_indexes_per_table:
+        warn_threshold: -1
+        abort_threshold: -1
+
+    # Guardrail to warn or abort when creating more materialized views per 
table than threshold.
+    # The two thresholds default to -1 to disable.
+    materialized_views_per_table:
+        warn_threshold: -1
+        abort_threshold: -1
+
+    # Guardrail to ignore or reject properties when creating tables. By 
default all properties are allowed.
+    table_properties:
+        ignored: []
+        disallowed: []
+
+    # Guardrail to allow/disallow user-provided timestamps. Defaults to true.
+    user_timestamps_enabled: true

Review comment:
       Not sure what is the rule about commented or not but I think normally 
new features are disabled by default at first.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to