-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.10
-
Component/s: Diagnostics, MMAPv1
-
None
-
Server Triage
-
ALL
ARM场景下,mongodb 3.2.10版本(使用mmapv1引擎),集群中一个mognodb的状态是SECONDARY, 但是不同步数据(mongod进程正常,部署机器负载正常),
在故障节点查询集群状态的结果:
rs.status()
{
"set" : "fsp",
"date" : ISODate("2019-04-15T06:54:25.134Z"),
"myState" : 2,
"term" : NumberLong(13),
"syncingTo" : "172.28.9.140:27017",
"heartbeatIntervalMillis" : NumberLong(2000),
"members" : [
{
"_id" : 0,
"name" : "172.28.9.140:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 1774315,
"optime" :
,
"optimeDate" : ISODate("2019-04-15T06:54:20Z"),
"lastHeartbeat" : ISODate("2019-04-15T06:54:24.344Z"),
"lastHeartbeatRecv" : ISODate("2019-04-15T06:54:24.364Z"),
"pingMs" : NumberLong(0),
"electionTime" : Timestamp(1553536954, 1),
"electionDate" : ISODate("2019-03-25T18:02:34Z"),
"configVersion" : 1
},
{
"_id" : 1,
"name" : "172.28.9.141:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 1748351,
"optime" :
,
"optimeDate" : ISODate("2019-04-09T14:25:46Z"),
"lastHeartbeat" : ISODate("2019-04-15T06:54:24.344Z"),
"lastHeartbeatRecv" : ISODate("2019-04-15T06:54:23.360Z"),
"pingMs" : NumberLong(0),
"syncingTo" : "172.28.9.140:27017",
"configVersion" : 1
},
{
"_id" : 2,
"name" : "172.28.9.142:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 1774629,
"optime" :
,
"optimeDate" : ISODate("2019-04-15T06:54:20Z"),
"syncingTo" : "172.28.9.140:27017",
"configVersion" : 1,
"self" : true
}
],
"ok" : 1
}
- duplicates
-
SERVER-40639 In the ARM scenario, mongodb version 3.2.10 (using the mmapv1 storageEngine), one node of replica set is SECONDARY(the mongod process is normal, load of the deployment machine is normal),this SECONDARY node can not sync data from Primary node.
- Closed