Skip to content

CASSANDRA-20101 Disable repair on system_traces.* tables by default#3705

Closed
jaydeepkumar1984 wants to merge 59 commits intoapache:trunkfrom
jaydeepkumar1984:trunk_cep_37_cassandra_20101
Closed

CASSANDRA-20101 Disable repair on system_traces.* tables by default#3705
jaydeepkumar1984 wants to merge 59 commits intoapache:trunkfrom
jaydeepkumar1984:trunk_cep_37_cassandra_20101

Conversation

@jaydeepkumar1984
Copy link
Contributor

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

jaydeepkumar1984 and others added 30 commits November 5, 2024 17:45
jaydeepkumar1984 and others added 28 commits November 14, 2024 16:55
Updates IAutoRepairTokenRangeSplitter API to take in a set of tables
instead of a single table and return "RepairAssignments".

This allows the API more control over how the repairs are issued by
the AutoRepair framework, by allowing grouping of repairs by specific
tables or a single repair at the keyspace level.

Also updates IAutoRepairTokenRangeSplitter to be a ParameterizedClass,
so custom splitters can have their own configuration.

Update AutoRepair to account for these changes.

Update DefaultAutoRepairTokenSplitter to account for the change, and
to also evaluate on getRepairByKeyspace option.  This also improves
the filtering of tables that should not be repaired where previously
getRepairByKeyspace would not factor this in.

Move logic to split token ranges evenly into AutoRepairUtils so it
can be reutilized by other splitters.
@jaydeepkumar1984 jaydeepkumar1984 changed the title Trunk cep 37 cassandra 20101 CASSANDRA-20101 Disable repair on system_traces.* tables by default Nov 21, 2024
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.

4 participants