BrianGallew / cassandra_range_repair

python script to repair the primary range of a node in N discrete steps
MIT License
109 stars 47 forks source link

Question regarding hung repair sessions. #48

Closed arshdeeptinna closed 8 years ago

arshdeeptinna commented 8 years ago

How does the script handle a repair session that hangs after sucessfully repairing some part of the repair range?

BrianGallew commented 8 years ago

It doesn't. Neither the script nor Cassandra keep any kind of useful state that will tell you what has or has not happened.

That said, you can run the script verbosely in dry-run mode and it'll spit out a complete list of all the nodetool range commands it would have run. That, in turn, could be converted into a script, with the already-completed ones deleted (should be visible in your logs).

arshdeeptinna commented 8 years ago

Thanks!! Hopefully one day cassandra will make repairs more transparent.