Automatically replay segments to rebuild missing repository index