-
Notifications
You must be signed in to change notification settings - Fork 79
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
Incorrect Handling of percentUnrepairedThreshold in K8ssandra Operator when set to 0 #1113
Comments
Hi @dnugmanov, may I ask which behavior you're looking for by setting this to 0? |
@adejanovski From the screenshot: the next scheduled run is set "in 7 months" for |
what's weird here is that you have 7 days or 10% unrepaired as interval. So the next run should be at most 7 days after the previous run 🤔 |
Yes, we have identified two issues:
|
@adejanovski Hi, have you reproduced the Reaper bug? I have one cluster experiencing that issue, and I can help you collect diagnostic information. |
What happened?
When configuring the Reaper autoScheduling with
percentUnrepairedThreshold: 0
, the K8ssandra Operator fails to honor this value and automatically reverts it to the default of10
. This behavior appears to be linked to the use ofint
in the structure, rather than*int
, causing a lack of distinction when the value is set to 0 or not set.Did you expect to see something different?
The
percentUnrepairedThreshold
should be respected and set to 0, as configured.How to reproduce it (as minimally and precisely as possible):
Environment
K8ssandra Operator version:
v1.10.2
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: K8OP-63
The text was updated successfully, but these errors were encountered: