Reseeding a replica¶
If any of a replica’s .xlog/.snap/.run files are corrupted or deleted, you can “re-seed” the replica:
Stop the replica and destroy all local database files (the ones with extensions .xlog/.snap/.run/.inprogress).
Delete the replica’s record from the following locations:
replicationparameter at all running instances in the replica set.
box.space._clusteron the master instance.
See section Removing instances for details.
Restart the replica with the same instance file to contact the master again. The replica will then catch up with the master by retrieving all the master’s tuples.
Remember that this procedure works only if the master’s WAL files are present.