View replica set status
MongoDBReplica SetCommand
rs.status()What it does
Shows the state, roles, replication lag and health of the set members.
When to use it
When checking replication health and lag.
Caution
Read-only command; no risk.
rs.status()Shows the state, roles, replication lag and health of the set members.
When checking replication health and lag.
Read-only command; no risk.