Skip to content

CASSANDRA-21236: Don’t leave autocompaction disabled during bootstrap and replace#4682

Open
krummas wants to merge 2 commits intoapache:trunkfrom
krummas:marcuse/21236
Open

CASSANDRA-21236: Don’t leave autocompaction disabled during bootstrap and replace#4682
krummas wants to merge 2 commits intoapache:trunkfrom
krummas:marcuse/21236

Conversation

@krummas
Copy link
Member

@krummas krummas commented Mar 18, 2026

We have always disabled autocompaction for all known tables during startup, to allow commitlog replay to flush without triggering compactions. Problem is that now with CEP-21/TCM we know all tables before disabling. Fix is simple, just re-enable autocompaction earlier

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

krummas added 2 commits March 18, 2026 08:27
We have always disabled autocompaction for all known tables during startup, to allow commitlog replay to flush without triggering compactions. Problem is that now with CEP-21/TCM we know all tables before disabling. Fix is simple, just re-enable autocompaction earlier
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.

1 participant