Paul Chandler, home

Paul Chandler

Cassandra consulting · Redshots blog

Cassandra Auto Repairs

Cassandra 5.0.8 was released on Friday, I think, as far as a Cassandra operator is concerned, it is the most significant minor release for many years.

Cassandra now has repairs build into the individual nodes, in the form of auto repairs. This should remove the need for custom repair scripts or third party repair tools.

I have had this running on a cluster over the weekend, and everything looks good so far, but this is a major upgrade and I wouldn’t recommend launching on a production cluster until you have performed some extensive testing yourself.

As this is a minor release, auto repairs are not turned on by default, if you wish to use it you need to add cassandra.autorepair.enable=true to the jvm options before you restart the cluster, and you need to ensure this happens to all the nodes in the cluster. You would normally do this in the cassandra-env.sh file.

If you enable auto repairs, this will trigger schema updates to the system_distributed keyspace, causing a schema mismatch, with its normal limitations, until all the nodes in the cluster have had auto repair enabled.

I intend to perform some more testing this week, so if you have any questions about auto repair, please ask in the comments and I will try and answer them this week.

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 *