DEBU[0000] Compatible mode: true
DEBU[0000] Connection URI: mongodb://username:username!123!@servername-s:27017/admin
INFO[0000] Starting HTTP server for http://:42002/metrics … source=“server.go:144”
DEBU[0079] getDiagnosticData result
{}
DEBU[0079] replSetGetStatus result:
{
“$clusterTime”: {
“clusterTime”: {
“T”: 1623368377,
“I”: 1
},
“signature”: {
“hash”: {
“Subtype”: 0,
“Data”: “mFCLs2axEpchQ7rFR8/mTHukWNI=”
},
“keyId”: 6937552495887515649
}
},
“date”: “2021-06-11T02:39:42.114+03:00”,
“electionParticipantMetrics”: {
“electionCandidateMemberId”: 0,
“electionTerm”: 47,
“lastAppliedOpTimeAtElection”: {
“t”: 46,
“ts”: {
“T”: 1623095762,
“I”: 1
}
},
“lastVoteDate”: “2021-06-07T22:56:08.718+03:00”,
“maxAppliedOpTimeInSet”: {
“t”: 46,
“ts”: {
“T”: 1623095762,
“I”: 1
}
},
“newTermAppliedDate”: “2021-06-07T22:56:11.023+03:00”,
“newTermStartDate”: “2021-06-07T22:56:08.88+03:00”,
“priorityAtElection”: 1,
“voteReason”: “”,
“votedForCandidate”: true
},
“heartbeatIntervalMillis”: 2000,
“lastStableRecoveryTimestamp”: {
“T”: 1623368347,
“I”: 1
},
“majorityVoteCount”: 2,
“members”: [
{
“_id”: 0,
“configTerm”: -1,
“configVersion”: 9,
“electionDate”: “2021-06-07T22:56:08+03:00”,
“electionTime”: {
“T”: 1623095768,
“I”: 1
},
“health”: 1,
“infoMessage”: “”,
“lastHeartbeat”: “2021-06-11T02:39:41.463+03:00”,
“lastHeartbeatMessage”: “”,
“lastHeartbeatRecv”: “2021-06-11T02:39:40.427+03:00”,
“name”: “servername-p:27017”,
“optime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDate”: “2021-06-11T02:39:37+03:00”,
“optimeDurable”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDurableDate”: “2021-06-11T02:39:37+03:00”,
“pingMs”: 0,
“state”: 1,
“stateStr”: “PRIMARY”,
“syncSourceHost”: “”,
“syncSourceId”: -1,
“uptime”: 272623
},
{
“_id”: 1,
“configTerm”: -1,
“configVersion”: 9,
“health”: 1,
“infoMessage”: “”,
“lastHeartbeatMessage”: “”,
“name”: “servername-s:27017”,
“optime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDate”: “2021-06-11T02:39:37+03:00”,
“self”: true,
“state”: 2,
“stateStr”: “SECONDARY”,
“syncSourceHost”: “servername-p:27017”,
“syncSourceId”: 0,
“uptime”: 1418613
},
{
“_id”: 2,
“configTerm”: -1,
“configVersion”: 9,
“health”: 1,
“infoMessage”: “”,
“lastHeartbeat”: “2021-06-11T02:39:41.462+03:00”,
“lastHeartbeatMessage”: “”,
“lastHeartbeatRecv”: “2021-06-11T02:39:41.462+03:00”,
“name”: “servername-a:27017”,
“pingMs”: 0,
“state”: 7,
“stateStr”: “ARBITER”,
“syncSourceHost”: “”,
“syncSourceId”: -1,
“uptime”: 1418411
},
{
“_id”: 3,
“configTerm”: -1,
“configVersion”: 9,
“health”: 1,
“infoMessage”: “”,
“lastHeartbeat”: “2021-06-11T02:39:40.118+03:00”,
“lastHeartbeatMessage”: “”,
“lastHeartbeatRecv”: “2021-06-11T02:39:40.117+03:00”,
“name”: “servername-s2:27017”,
“optime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDate”: “2021-06-11T02:39:37+03:00”,
“optimeDurable”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDurableDate”: “2021-06-11T02:39:37+03:00”,
“pingMs”: 0,
“state”: 2,
“stateStr”: “SECONDARY”,
“syncSourceHost”: “servername-s:27017”,
“syncSourceId”: 1,
“uptime”: 428
}
],
“myState”: 2,
“ok”: 1,
“operationTime”: {
“T”: 1623368377,
“I”: 1
},
“optimes”: {
“appliedOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“durableOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“lastAppliedWallTime”: “2021-06-11T02:39:37.044+03:00”,
“lastCommittedOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“lastCommittedWallTime”: “2021-06-11T02:39:37.044+03:00”,
“lastDurableWallTime”: “2021-06-11T02:39:37.044+03:00”,
“readConcernMajorityOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“readConcernMajorityWallTime”: “2021-06-11T02:39:37.044+03:00”
},
“set”: “replsetname”,
“syncSourceHost”: “servername-p:27017”,
“syncSourceId”: 0,
“term”: 47,
“votingMembersCount”: 3,
“writableVotingMembersCount”: 2,
“writeMajorityCount”: 2
}
DEBU[0079] replSetGetStatus result:
{
“$clusterTime”: {
“clusterTime”: {
“T”: 1623368377,
“I”: 1
},
“signature”: {
“hash”: {
“Subtype”: 0,
“Data”: “mFCLs2axEpchQ7rFR8/mTHukWNI=”
},
“keyId”: 6937552495887515649
}
},
“date”: “2021-06-11T02:39:42.135+03:00”,
“electionParticipantMetrics”: {
“electionCandidateMemberId”: 0,
“electionTerm”: 47,
“lastAppliedOpTimeAtElection”: {
“t”: 46,
“ts”: {
“T”: 1623095762,
“I”: 1
}
},
“lastVoteDate”: “2021-06-07T22:56:08.718+03:00”,
“maxAppliedOpTimeInSet”: {
“t”: 46,
“ts”: {
“T”: 1623095762,
“I”: 1
}
},
“newTermAppliedDate”: “2021-06-07T22:56:11.023+03:00”,
“newTermStartDate”: “2021-06-07T22:56:08.88+03:00”,
“priorityAtElection”: 1,
“voteReason”: “”,
“votedForCandidate”: true
},
“heartbeatIntervalMillis”: 2000,
“lastStableRecoveryTimestamp”: {
“T”: 1623368347,
“I”: 1
},
“majorityVoteCount”: 2,
“members”: [
{
“_id”: 0,
“configTerm”: -1,
“configVersion”: 9,
“electionDate”: “2021-06-07T22:56:08+03:00”,
“electionTime”: {
“T”: 1623095768,
“I”: 1
},
“health”: 1,
“infoMessage”: “”,
“lastHeartbeat”: “2021-06-11T02:39:41.463+03:00”,
“lastHeartbeatMessage”: “”,
“lastHeartbeatRecv”: “2021-06-11T02:39:40.427+03:00”,
“name”: “servername-p:27017”,
“optime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDate”: “2021-06-11T02:39:37+03:00”,
“optimeDurable”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDurableDate”: “2021-06-11T02:39:37+03:00”,
“pingMs”: 0,
“state”: 1,
“stateStr”: “PRIMARY”,
“syncSourceHost”: “”,
“syncSourceId”: -1,
“uptime”: 272623
},
{
“_id”: 1,
“configTerm”: -1,
“configVersion”: 9,
“health”: 1,
“infoMessage”: “”,
“lastHeartbeatMessage”: “”,
“name”: “servername-s:27017”,
“optime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDate”: “2021-06-11T02:39:37+03:00”,
“self”: true,
“state”: 2,
“stateStr”: “SECONDARY”,
“syncSourceHost”: “servername-p:27017”,
“syncSourceId”: 0,
“uptime”: 1418613
},
{
“_id”: 2,
“configTerm”: -1,
“configVersion”: 9,
“health”: 1,
“infoMessage”: “”,
“lastHeartbeat”: “2021-06-11T02:39:41.462+03:00”,
“lastHeartbeatMessage”: “”,
“lastHeartbeatRecv”: “2021-06-11T02:39:41.462+03:00”,
“name”: “servername-a:27017”,
“pingMs”: 0,
“state”: 7,
“stateStr”: “ARBITER”,
“syncSourceHost”: “”,
“syncSourceId”: -1,
“uptime”: 1418411
},
{
“_id”: 3,
“configTerm”: -1,
“configVersion”: 9,
“health”: 1,
“infoMessage”: “”,
“lastHeartbeat”: “2021-06-11T02:39:42.119+03:00”,
“lastHeartbeatMessage”: “”,
“lastHeartbeatRecv”: “2021-06-11T02:39:42.118+03:00”,
“name”: “servername-s2:27017”,
“optime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDate”: “2021-06-11T02:39:37+03:00”,
“optimeDurable”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“optimeDurableDate”: “2021-06-11T02:39:37+03:00”,
“pingMs”: 0,
“state”: 2,
“stateStr”: “SECONDARY”,
“syncSourceHost”: “servername-s:27017”,
“syncSourceId”: 1,
“uptime”: 428
}
],
“myState”: 2,
“ok”: 1,
“operationTime”: {
“T”: 1623368377,
“I”: 1
},
“optimes”: {
“appliedOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“durableOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“lastAppliedWallTime”: “2021-06-11T02:39:37.044+03:00”,
“lastCommittedOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“lastCommittedWallTime”: “2021-06-11T02:39:37.044+03:00”,
“lastDurableWallTime”: “2021-06-11T02:39:37.044+03:00”,
“readConcernMajorityOpTime”: {
“t”: 47,
“ts”: {
“T”: 1623368377,
“I”: 1
}
},
“readConcernMajorityWallTime”: “2021-06-11T02:39:37.044+03:00”
},
“set”: “replsetname”,
“syncSourceHost”: “servername-p:27017”,
“syncSourceId”: 0,
“term”: 47,
“votingMembersCount”: 3,
“writableVotingMembersCount”: 2,
“writeMajorityCount”: 2
}
DEBU[0079] getDiagnosticData result
{}
I faced with same problem again even there is no VM or host related problem. I isoleted that particular server. The problem still exists. Kindly require your help.