[
https://issues.apache.org/jira/browse/CASSANDRA-17212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479535#comment-17479535
]
Caleb Rackliffe commented on CASSANDRA-17212:
---------------------------------------------
Looking through the proposals so far, I find [~benedict]'s structure
[here|https://github.com/belliottsmith/cassandra/blob/5f80d1c0d38873b7a27dc137656d8b81f8e6bbd7/conf/cassandra_nocomment.yaml#L160]
most appealing. In that case, I think the CASSANDRA-14557 replication bits we
want would look something like...
{noformat}
limits:
...
replication:
minimum: 3
default: 1
{noformat}
On the subject of a global {{enable}} flag, that feels most appropriate for
individual categories or limit concepts. Most of its value is not having to
come up with special/sentinel values that disable something. (i.e. You can
leave something both disabled and w/ a reasonable value if enabled in the
config as documentation.)
> Migrate threshold for minimum keyspace replication factor to guardrails
> -----------------------------------------------------------------------
>
> Key: CASSANDRA-17212
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17212
> Project: Cassandra
> Issue Type: New Feature
> Components: Feature/Guardrails
> Reporter: Andres de la Peña
> Priority: Normal
>
> The config property
> [{{minimum_keyspace_rf}}|https://github.com/apache/cassandra/blob/5fdadb25f95099b8945d9d9ee11d3e380d3867f4/conf/cassandra.yaml]
> that was added by CASSANDRA-14557 can be migrated to guardrails, for example:
> {code}
> guardrails:
> ...
> replication_factor:
> warn_threshold: 2
> abort_threshold: 3
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]