Navigation
This version of the documentation is archived and no longer supported.

db.getReplicationInfo()

db.getReplicationInfo()
Returns:A document with the status of the replica status, using data polled from the “oplog”. Use this output when diagnosing issues with replication.