-
Notifications
You must be signed in to change notification settings - Fork 2
C20048 multi version repair guardrail trunk #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk_cep_37
Are you sure you want to change the base?
C20048 multi version repair guardrail trunk #21
Conversation
…s for auto-repair
…yspace is provided in args
…t::testConversionsInverses
…EP_IF_REPAIR_FINISHES_QUICKLY
… Tests run: 15, Failures: 7
…dra_20047 Merge CASSANDRA-20047 & CASSANDRA-20043 to trunk_cep_37
…ndra_20101_1 Ignore repair for system_traces keyspace
…mpatabilityTest trunk: Fix broken JMXCompatabilityTest due to Preview Repair
…ndra_20160 Auto-repair scheduler should be rate-limited
| logger.debug("Auto-repair is disabled for repair type {}", repairType); | ||
| return; | ||
| } | ||
| if (!Guardrails.mixedRepairsEnabled.isEnabled(null)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could just use enabled() instead right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enabled() is if the guardrail is turned on or off, not if its predicate is true
| } | ||
| if (!Guardrails.mixedRepairsEnabled.isEnabled(null)) | ||
| { | ||
| logger.debug("Cannot run repair when nodes in the cluster have different versions."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use a NoSpamLogger to log it as Info every 5 minutes? The reason is without any logging or metrics; it would become difficult for admins to diagnose why the repair has not been running. A new metric here would also provide visibility.
95d0a5e to
e093b34
Compare
0c0f607 to
cf60b85
Compare
9feb931 to
89b4ab6
Compare
…s altered/created (CASSANDRA-20570) (#21) ## Summary patch by Nikhil Kumawat, Nikhil; reviewed by David Capwell, guo Maxwell for CASSANDRA-20570 ## Test Plan ## Jira Issues T3-CAAS-799 Co-authored-by: Nikhil Kumawat <nikhilkumawat03@gmail.com>
Thanks for sending a pull request! Here are some tips if you're new here:
Commit messages should follow the following format:
The Cassandra Jira