You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paulo Motta (Jira)" <ji...@apache.org> on 2026/02/12 19:20:00 UTC

[jira] [Created] (CASSANDRA-21169) Allow overriding compaction strategy parameters during startup

Paulo Motta created CASSANDRA-21169:
---------------------------------------

             Summary: Allow overriding compaction strategy parameters during startup
                 Key: CASSANDRA-21169
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21169
             Project: Apache Cassandra
          Issue Type: Improvement
            Reporter: Paulo Motta


One strategy to perform large scale compaction strategy changes is to perform the change on a per-node, per-rack or per-dc basis via JMX to control the impact in the cluster.

However if nodes that have change their compaction via JMX are restarted before the schema is updated, the old compaction parameters are restored from the schema causing lost work.

This ticket is to add a new configuration to override parameters of specific table or keyspacesat startup via the following JVM properties:
- cassandra.override_compaction.entities: comma-separated list of keyspaces
  and keyspace.table pairs (e.g. "ks1,ks2.tbl1,ks3.tbl2")
- cassandra.override_compaction.params: JSON compaction parameters to apply

When these properties are set, the schema parameters are ignored and these are used instead for the specified entities.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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