{
"set" : "rs0",
"date" : ISODate("2021-04-01T09:09:30.052Z"),
"myState" : 1,
"term" : NumberLong(1),
"syncingTo" : "",
"syncSourceHost" : "",
"syncSourceId" : -1,
"heartbeatIntervalMillis" : NumberLong(2000),
"optimes" : {
"lastCommittedOpTime" : {
"ts" : Timestamp(1617268168, 1),
"t" : NumberLong(1)
},
"readConcernMajorityOpTime" : {
"ts" : Timestamp(1617268168, 1),
"t" : NumberLong(1)
},
"appliedOpTime" : {
"ts" : Timestamp(1617268168, 1),
"t" : NumberLong(1)
},
"durableOpTime" : {
"ts" : Timestamp(1617268168, 1),
"t" : NumberLong(1)
}
},
"lastStableCheckpointTimestamp" : Timestamp(1617268118, 1),
"electionCandidateMetrics" : {
"lastElectionReason" : "electionTimeout",
"lastElectionDate" : ISODate("2021-04-01T08:55:38.158Z"),
"electionTerm" : NumberLong(1),
"lastCommittedOpTimeAtElection" : {
"ts" : Timestamp(0, 0),
"t" : NumberLong(-1)
},
"lastSeenOpTimeAtElection" : {
"ts" : Timestamp(1617267327, 1),
"t" : NumberLong(-1)
},
"numVotesNeeded" : 2,
"priorityAtElection" : 1,
"electionTimeoutMillis" : NumberLong(10000),
"numCatchUpOps" : NumberLong(0),
"newTermStartDate" : ISODate("2021-04-01T08:55:38.162Z"),
"wMajorityWriteAvailabilityDate" : ISODate("2021-04-01T08:55:38.337Z")
},
"members" : [
{
"_id" : 0,
"name" : "localhost:28017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 874,
"optime" : {
"ts" : Timestamp(1617268168, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2021-04-01T09:09:28Z"),
"syncingTo" : "",
"syncSourceHost" : "",
"syncSourceId" : -1,
"infoMessage" : "",
"electionTime" : Timestamp(1617267338, 1),
"electionDate" : ISODate("2021-04-01T08:55:38Z"),
"configVersion" : 1,
"self" : true,
"lastHeartbeatMessage" : ""
},
{
"_id" : 1,
"name" : "localhost:28018",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 842,
"optime" : {
"ts" : Timestamp(1617268158, 1),
"t" : NumberLong(1)
},
"optimeDurable" : {
"ts" : Timestamp(1617268158, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2021-04-01T09:09:18Z"),
"optimeDurableDate" : ISODate("2021-04-01T09:09:18Z"),
"lastHeartbeat" : ISODate("2021-04-01T09:09:28.179Z"),
"lastHeartbeatRecv" : ISODate("2021-04-01T09:09:28.835Z"),
"pingMs" : NumberLong(0),
"lastHeartbeatMessage" : "",
"syncingTo" : "localhost:28017",
"syncSourceHost" : "localhost:28017",
"syncSourceId" : 0,
"infoMessage" : "",
"configVersion" : 1
},
{
"_id" : 2,
"name" : "localhost:28019",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 842,
"optime" : {
"ts" : Timestamp(1617268158, 1),
"t" : NumberLong(1)
},
"optimeDurable" : {
"ts" : Timestamp(1617268158, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2021-04-01T09:09:18Z"),
"optimeDurableDate" : ISODate("2021-04-01T09:09:18Z"),
"lastHeartbeat" : ISODate("2021-04-01T09:09:28.179Z"),
"lastHeartbeatRecv" : ISODate("2021-04-01T09:09:28.834Z"),
"pingMs" : NumberLong(0),
"lastHeartbeatMessage" : "",
"syncingTo" : "localhost:28017",
"syncSourceHost" : "localhost:28017",
"syncSourceId" : 0,
"infoMessage" : "",
"configVersion" : 1
}
],
"ok" : 1,
"operationTime" : Timestamp(1617268168, 1),
"$clusterTime" : {
"clusterTime" : Timestamp(1617268168, 1),
"signature" : {
"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
"keyId" : NumberLong(0)
}
}
}