These steps must be performed on each secondary in the replica set:
- Use the mongo shell to connect to each secondary in the replica set:
mongo --host <address of secondary>
- Once connected to the secondary, run the rs.status(); command and check the values of the optimes::appliedOpTime::t key.
- Repeat this for each secondary and confirm that the t value is greater than -1. This tells us that at least one oplog entry has replicated from the primary to all secondaries.