repair: repair each local range separately
repair: repair each local range separately

The previous repair code exchanged data with the other nodes which have
one arbitrary token. This will only work correctly when all the nodes
replicate all the data. In a more realistic scenario, the node being
repaired holds copies of several token ranges, and each of these ranges
has a different set of replicas we need to perform the repair with.

So this patch does the right thing - we perform a separate repair_range()
for each of the local ranges, and each of those will find a (possibly)
different set of nodes to communicate with.

Signed-off-by: Nadav Har'El <625169824b719df98706d88646d0aae6f368ae4d@cloudius-systems.com>

respu/scylla,raphaelsc/scylla,phonkee/scylla,scylladb/scylla,duarten/scylla,asias/scylla,guiquanz/scylla,stamhe/scylla,scylladb/scylla,kangkot/scylla,justintung/scylla,capturePointer/scylla,eklitzke/scylla,avikivity/scylla,eklitzke/scylla,wildinto/scylla,rentongzhang/scylla,rentongzhang/scylla,rluta/scylla,stamhe/scylla,senseb/scylla,dwdm/scylla,kjniemi/scylla,senseb/scylla,shaunstanislaus/scylla,duarten/scylla,kjniemi/scylla,capturePointer/scylla,eklitzke/scylla,senseb/scylla,bowlofstew/scylla,avikivity/scylla,capturePointer/scylla,justintung/scylla,respu/scylla,linearregression/scylla,phonkee/scylla,tempbottle/scylla,victorbriz/scylla,avikivity/scylla,gwicke/scylla,kangkot/scylla,raphaelsc/scylla,bowlofstew/scylla,linearregression/scylla,shaunstanislaus/scylla,dwdm/scylla,scylladb/scylla,duarten/scylla,kjniemi/scylla,guiquanz/scylla,aruanruan/scylla,aruanruan/scylla,kangkot/scylla,wildinto/scylla,phonkee/scylla,respu/scylla,tempbottle/scylla,scylladb/scylla,rluta/scylla,wildinto/scylla,acbellini/scylla,rluta/scylla,rentongzhang/scylla,linearregression/scylla,aruanruan/scylla,bowlofstew/scylla,victorbriz/scylla,shaunstanislaus/scylla,glommer/scylla,dwdm/scylla,tempbottle/scylla,asias/scylla,asias/scylla,glommer/scylla,gwicke/scylla,raphaelsc/scylla,stamhe/scylla,guiquanz/scylla,acbellini/scylla,victorbriz/scylla,justintung/scylla,gwicke/scylla,glommer/scylla,acbellini/scylla