Skip to content

CASSANDRA-21169: Add compaction strategy override via system properties#4611

Open
pauloricardomg wants to merge 1 commit intoapache:trunkfrom
pauloricardomg:CASSANDRA-21169
Open

CASSANDRA-21169: Add compaction strategy override via system properties#4611
pauloricardomg wants to merge 1 commit intoapache:trunkfrom
pauloricardomg:CASSANDRA-21169

Conversation

@pauloricardomg
Copy link
Contributor

Introduce the ability to override compaction strategy for specific keyspaces and tables at startup via two new system 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

Patch by Paulo Motta; Reviewed by X for CASSANDRA-21169

Thanks for sending a pull request! Here are some tips if you're new here:

  • Ensure you have added or run the appropriate tests for your PR.
  • Be sure to keep the PR description updated to reflect all changes.
  • Write your PR title to summarize what this PR proposes.
  • If possible, provide a concise example to reproduce the issue for a faster review.
  • Read our contributor guidelines
  • If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:

<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

Introduce the ability to override compaction strategy for specific keyspaces
and tables at startup via two new system 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

Patch by Paulo Motta; Reviewed by Jaydeepkumar Chovatia for CASSANDRA-21169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants