InterviewSolution
Saved Bookmarks
| 1. |
Shard key options: |
|
Answer» If secondaries are FALLING behind they are experiencing REPLICATION lag, which is a delay in the application of oplog from primary to secondary. Replication lag can be a significant issue and can seriously affect MongoDB replica set deployments. Excessive replication lag makes a member ineligible to quickly become primary and increases the possibility of distributed read operations to be inconsistent. We can check the replication lag by calling the rs.printSlaveReplicationInfo() method or by running the rs.status() command. Possible causes of replication lag include:
|
|