rs1:PRIMARY> rs.status() { "set" : "rs1", "date" : ISODate("2021-01-20T01:51:53.063Z"), "myState" : 1, "term" : NumberLong(2), "heartbeatIntervalMillis" : NumberLong(2000), "optimes" : { "lastCommittedOpTime" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "readConcernMajorityOpTime" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "appliedOpTime" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "durableOpTime" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) } }, "members" : [ { "_id" : 0, "name" : "192.168.30.207:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 52343, "optime" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "optimeDate" : ISODate("2021-01-20T01:51:45Z"), "electionTime" : Timestamp(1611055182, 1), "electionDate" : ISODate("2021-01-19T11:19:42Z"), "configVersion" : 1, "self" : true }, { "_id" : 1, "name" : "192.168.30.213:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 52334, "optime" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "optimeDurable" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "optimeDate" : ISODate("2021-01-20T01:51:45Z"), "optimeDurableDate" : ISODate("2021-01-20T01:51:45Z"), "lastHeartbeat" : ISODate("2021-01-20T01:51:52.487Z"), "lastHeartbeatRecv" : ISODate("2021-01-20T01:51:52.487Z"), "pingMs" : NumberLong(0), "syncingTo" : "192.168.30.207:27017", "configVersion" : 1 }, { "_id" : 2, "name" : "192.168.30.214:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 52328, "optime" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "optimeDurable" : { "ts" : Timestamp(1611107505, 1), "t" : NumberLong(2) }, "optimeDate" : ISODate("2021-01-20T01:51:45Z"), "optimeDurableDate" : ISODate("2021-01-20T01:51:45Z"), "lastHeartbeat" : ISODate("2021-01-20T01:51:52.487Z"), "lastHeartbeatRecv" : ISODate("2021-01-20T01:51:52.487Z"), "pingMs" : NumberLong(0), "syncingTo" : "192.168.30.207:27017", "configVersion" : 1 } ], "ok" : 1, "operationTime" : Timestamp(1611107505, 1), "$clusterTime" : { "clusterTime" : Timestamp(1611107505, 1), "signature" : { "hash" : BinData(0,"9fl/3w/5Gwk4Qd7h3fkrQVQtPhM="), "keyId" : NumberLong("6919423507650576385") } } }
|