-
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
Add new CRD to create repairs schedules #1437
Comments
Hi @adejanovski @burmanm, I would like to work on this enhancement. What do you think of this implementation proposal?
|
Hi @c3-clement, Reaper is what handles repairs in K8ssandra. We don't want to create yet another repair orchestrator in the form of CassandraTasks. I think running nodetool garbagecollect would be a better idea than running a major compaction btw. Have you considered it? |
Hi @adejanovski , thanks for the feedback!
Got it, makes sense.
We don't actually need to run repair for all keyspaces, but we need to run a full repair for a specific keyspace and a specific table across all Cassandra nodes. Is there a way to achieve this with the Reaper API?
I will tell my team about it, thanks for the suggestion! |
What makes you think that's not what Reaper is doing? It's doing full repairs but splits the work in discrete chunks (subranges). |
So according to Reaper API reference, to start a full repair programmatically, I need to invoke There is no way to abstract this process with one of the K8ssandra Custom Resources? |
you can do that for sure, there's indeed no Kubernetes native way to do this at the moment. You should probably create repair schedules btw instead of creating the repair runs yourself, or even turn on the autoscheduler so that each new keyspace will get a schedule created automatically. Lastly you can do all this from the UI if that's useful and watch the network calls to get your payloads right. I've been thinking myself of making it possible to create schedules and repairs through the Kubernetes API, I think that would be a nice addition to Reaper. |
Hi @adejanovski , I really appreciated your feedback, thanks again! I've updated the issue title and description, as K8ssandraTask is not responsible for repairs. To unblock the team that needs the repair and compaction API, I'll implement an internal CRD to abstract repair and compaction. |
What is missing?
It's not possible to create repairs schedules in a Kubernetes native way.
Why do we need it?
In my company, we want to be able to start full repair for an entire Cassandra cluster.
Ideally, those abilities should be exposed by a Kubernetes based API.
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: K8OP-281
The text was updated successfully, but these errors were encountered: