Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
Hi team
in this page, OUTPUT section : https://www.mongodb.com/docs/manual/reference/method/db.getReplicationInfo/
you read, for example:
db.getReplicationInfo.logSizeMB
Returns the total size of the oplog in megabytes.
but in fact each command in bold is missing () so it doesn't work if you use the commands as in the manual.
in this case it should be :
db.getReplicationInfo().logSizeMB