Paul Chandler, home

Paul Chandler

Cassandra consulting · Redshots blog

Cassandra Auto Repairs – Part 2

I have now had a chance to experiment with the Cassandra Auto Repair setup, I have been using Cassandra 6 alpha for this, but it should be the same in Cassandra 5.0.8. Here are some of my observations.

1) You can setup a global set of parameters for full repairs, and different set of parameters for incremental repairs. This means it is possible to setup, for example, daily incremental repairs, and weekly full repairs.

2) You can’t specify a time that the repair would run, I have done this before to run full repairs at quiet times for the cluster.

3) Repairs can be turned on or off at a table level, but you can’t set a different run interval at the table level, so the global repair interval would need to the smallest gc_grace_seconds within the table.

4) Repairs at a node level can be turned on or off via nodetool, this will be a very useful addition to some automation scripts, for example, turning off repairs before a rolling restart happens.

5) Cluster protection is built in, with many setting available to throttle the repairs based on different criteria, the defaults look suitable here, but if testing is giving cpu/memory spikes during repairs there are plenty of ways to throttle the processing.

6) There are a large number of new auto repair metrics built into Cassandra, which will allow monitoring and alerting to easily be built into existing Cassandra dashboards.

In conclusion, this looks a very good offering, if you can live with the current limitations, this is going to make automatic repairs much easier to configure and use, certainly easier than setting up Reaper, ecChronos or writing your own scripts. 

Paul Chandler

Running Cassandra without a specialist?

Get a fixed-price Cluster Health Check.

I review your configuration, data model, repairs, backups and capacity, and give you a prioritised plan in 5 working days. Or start with a free 30-minute call.

Previous post
Next post

Leave a Reply

Your email address will not be published. Required fields are marked *