thelastpickle / cassandra-reaper

Automated Repair Awesomeness for Apache Cassandra
http://cassandra-reaper.io/
Apache License 2.0
489 stars 217 forks source link

Ability to define active and inactive timeframes #315

Open samuelbenhamou opened 6 years ago

samuelbenhamou commented 6 years ago

Project board link

Unless I missed a potential option somewhere, it would be great to specify running or waiting hours: Let's say I have a huge cluster and would like to repair it all, it would take a great amount of time. I would like to be able to tell reaper to let's say launch repairs over night, from let's say 10pm to 7am and stay idle during day hours where the load of the cluster is bigger from the customers' usage.

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: REAP-177

samuelbenhamou commented 6 years ago

not exactly a duplicate but it would certainly work with that : #301

adejanovski commented 6 years ago

The implementation in #301 is different as it ended up being a manual change of intensity when repairs are paused. I like your suggestion and will think of how it can be implemented (unless you want to contribute?).

We we need to allow overriding the setting if we want to allow repair to run during off hours in special cases (for example to recover from an outage).