Yes. This is the output of rs.status()
{
"set" : "rs",
"date" : ISODate("2023-07-31T05:00:39.684Z"),
"myState" : 1,
"term" : NumberLong(7),
"syncSourceHost" : "",
"syncSourceId" : -1,
"heartbeatIntervalMillis" : NumberLong(2000),
"majorityVoteCount" : 3,
"writeMajorityCount" : 3,
"votingMembersCount" : 5,
"writableVotingMembersCount" : 4,
"optimes" : {
"lastCommittedOpTime" : {
"ts" : Timestamp(1690779639, 423),
"t" : NumberLong(7)
},
"lastCommittedWallTime" : ISODate("2023-07-31T05:00:39.671Z"),
"readConcernMajorityOpTime" : {
"ts" : Timestamp(1690779639, 423),
"t" : NumberLong(7)
},
"readConcernMajorityWallTime" : ISODate("2023-07-31T05:00:39.671Z"),
"appliedOpTime" : {
"ts" : Timestamp(1690779639, 425),
"t" : NumberLong(7)
},
"durableOpTime" : {
"ts" : Timestamp(1690779639, 410),
"t" : NumberLong(7)
},
"lastAppliedWallTime" : ISODate("2023-07-31T05:00:39.674Z"),
"lastDurableWallTime" : ISODate("2023-07-31T05:00:39.608Z")
},
"lastStableRecoveryTimestamp" : Timestamp(1690779603, 73),
"electionCandidateMetrics" : {
"lastElectionReason" : "priorityTakeover",
"lastElectionDate" : ISODate("2023-07-22T05:14:35.184Z"),
"electionTerm" : NumberLong(7),
"lastCommittedOpTimeAtElection" : {
"ts" : Timestamp(1690002875, 38),
"t" : NumberLong(6)
},
"lastSeenOpTimeAtElection" : {
"ts" : Timestamp(1690002875, 38),
"t" : NumberLong(6)
},
"numVotesNeeded" : 3,
"priorityAtElection" : 3,
"electionTimeoutMillis" : NumberLong(10000),
"priorPrimaryMemberId" : 0,
"targetCatchupOpTime" : {
"ts" : Timestamp(1690002875, 522),
"t" : NumberLong(6)
},
"numCatchUpOps" : NumberLong(135),
"newTermStartDate" : ISODate("2023-07-22T05:14:35.753Z"),
"wMajorityWriteAvailabilityDate" : ISODate("2023-07-22T05:14:37.069Z")
},
"members" : [
{
"_id" : 0,
"name" : "ip-172-31-12-111:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 172629,
"optime" : {
"ts" : Timestamp(1690779638, 432),
"t" : NumberLong(7)
},
"optimeDurable" : {
"ts" : Timestamp(1690779638, 425),
"t" : NumberLong(7)
},
"optimeDate" : ISODate("2023-07-31T05:00:38Z"),
"optimeDurableDate" : ISODate("2023-07-31T05:00:38Z"),
"lastHeartbeat" : ISODate("2023-07-31T05:00:38.637Z"),
"lastHeartbeatRecv" : ISODate("2023-07-31T05:00:39.344Z"),
"pingMs" : NumberLong(0),
"lastHeartbeatMessage" : "",
"syncSourceHost" : "172.31.12.118:27017",
"syncSourceId" : 4,
"infoMessage" : "",
"configVersion" : 20,
"configTerm" : 7
},
{
"_id" : 1,
"name" : "172.31.12.57:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 172159,
"optime" : {
"ts" : Timestamp(1690779638, 158),
"t" : NumberLong(7)
},
"optimeDurable" : {
"ts" : Timestamp(1690779638, 151),
"t" : NumberLong(7)
},
"optimeDate" : ISODate("2023-07-31T05:00:38Z"),
"optimeDurableDate" : ISODate("2023-07-31T05:00:38Z"),
"lastHeartbeat" : ISODate("2023-07-31T05:00:38.203Z"),
"lastHeartbeatRecv" : ISODate("2023-07-31T05:00:39.317Z"),
"pingMs" : NumberLong(0),
"lastHeartbeatMessage" : "",
"syncSourceHost" : "172.31.12.118:27017",
"syncSourceId" : 4,
"infoMessage" : "",
"configVersion" : 20,
"configTerm" : 7
},
{
"_id" : 3,
"name" : "172.31.12.181:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 172263,
"optime" : {
"ts" : Timestamp(1690779638, 105),
"t" : NumberLong(7)
},
"optimeDurable" : {
"ts" : Timestamp(1690779638, 105),
"t" : NumberLong(7)
},
"optimeDate" : ISODate("2023-07-31T05:00:38Z"),
"optimeDurableDate" : ISODate("2023-07-31T05:00:38Z"),
"lastHeartbeat" : ISODate("2023-07-31T05:00:38.181Z"),
"lastHeartbeatRecv" : ISODate("2023-07-31T05:00:38.149Z"),
"pingMs" : NumberLong(0),
"lastHeartbeatMessage" : "",
"syncSourceHost" : "172.31.12.118:27017",
"syncSourceId" : 4,
"infoMessage" : "",
"configVersion" : 20,
"configTerm" : 7
},
{
"_id" : 4,
"name" : "172.31.12.118:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 777328,
"optime" : {
"ts" : Timestamp(1690779639, 425),
"t" : NumberLong(7)
},
"optimeDate" : ISODate("2023-07-31T05:00:39Z"),
"syncSourceHost" : "",
"syncSourceId" : -1,
"infoMessage" : "",
"electionTime" : Timestamp(1690002875, 518),
"electionDate" : ISODate("2023-07-22T05:14:35Z"),
"configVersion" : 20,
"configTerm" : 7,
"self" : true,
"lastHeartbeatMessage" : ""
},
{
"_id" : 5,
"name" : "172.31.10.121:27017",
"health" : 1,
"state" : 7,
"stateStr" : "ARBITER",
"uptime" : 171250,
"lastHeartbeat" : ISODate("2023-07-31T05:00:39.522Z"),
"lastHeartbeatRecv" : ISODate("2023-07-31T05:00:39.318Z"),
"pingMs" : NumberLong(0),
"lastHeartbeatMessage" : "",
"syncSourceHost" : "",
"syncSourceId" : -1,
"infoMessage" : "",
"configVersion" : 20,
"configTerm" : 7
}
],
"ok" : 1,
"$clusterTime" : {
"clusterTime" : Timestamp(1690779639, 425),
"signature" : {
"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
"keyId" : NumberLong(0)
}
},
"operationTime" : Timestamp(1690779639, 425)
}