Skip to content

Simple tool that checks if there are any ongoing repairs on a cassandra cluster. If no, create a snapshot and run repair.

License

Notifications You must be signed in to change notification settings

robertsicoie/cassandra-check-repair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Cassandra Check Repair

Overview

This is a simple script that scans a Cassandra cluster and checks if there are any ongoing repair jobs. If there are no repair jobs currently running, it takes a snapshot of the node and then it runs nodetool repair.

The purpose of this script is to help in manually running nodetool repairs.

If you want to schedule repairs you should use tools like cassandra-reaper.

Usage

Copy check-repair to one of the nodes in your cluster.

check-repair.sh <hostname> <username> <password>

Run this script for each node of your cluster. A new repair job will not be started if there already is a running repair job.

Before running repair, this script will create a snapshot of the target node.

About

Simple tool that checks if there are any ongoing repairs on a cassandra cluster. If no, create a snapshot and run repair.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages