Secondary Index reads

So I think I have the first part done already
If you look on line 614, I look for specific attributes to make the main query.

For second part you mean, read repair should be done just after returning to client?