|
Note that the information about the slaves replication progress is only included in the "repl" section of serverStatus if serverStatus was given a "repl" argument with a value greater than or equal to 1, for example:
> db.serverStatus({repl:1}).repl
|
{
|
"setName": "mySet",
|
"setVersion": 1,
|
"ismaster": false,
|
"secondary": true,
|
"hosts": [
|
"ubuntu:20001",
|
"ubuntu:20002",
|
"ubuntu:20003"
|
],
|
"me": "ubuntu:20001",
|
"rbid": 171353522,
|
"slaves": [
|
{
|
"rid": ObjectId("544eb5e2ea4738723fb5bdd5"),
|
"optime": Timestamp(1414444530, 1),
|
"host": "ubuntu:20001",
|
"memberID": 0
|
},
|
{
|
"rid": ObjectId("000000000000000000000000"),
|
"optime": Timestamp(0, 0),
|
"host": "ubuntu:20002",
|
"memberID": 1
|
},
|
{
|
"rid": ObjectId("000000000000000000000000"),
|
"optime": Timestamp(0, 0),
|
"host": "ubuntu:20003",
|
"memberID": 2
|
}
|
]
|
}
|
|