[FOLLOW UP QUESTION TO #5757]
I am running subrange repair for Cassandra over the tablewise repair.
sub-range repair is running with the below command:-
$ nodetool repair -pr -st XXXXX -et XXXXXX --job-threads 4
Is it the correct way to do it?
For sub-range repair as I do not have much data available in the Cassandra am getting the range of the toke for start and end by using below command:-
1. Run nodetool ring command.
2. Divide the range in pair of two for start and end sequentially.
e.g. if the first range is 1234 followed by next is 1239 then the command will be
$ nodetool repair -pr -st 1234 -et 1239 --job-threads 4
3. Repeat the process on all nodes.
Is it a right way to do it?
How can we efficiently get right parameter values for start and end token to run it without error?
I have read that we can run CQL query against 'local' or 'peer' table in 'system' keyspace to get the token values associated with the node, if it's right how can we use them for subrange repair start and end token?