Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40637

ARM场景下,mongodb 3.2.10版本(使用mmapv1引擎),集群中一个mognodb的状态是SECONDARY, 但是不同步数据(mongod进程正常,部署机器负载正常)

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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" :

      { "ts" : Timestamp(1555311260, 90), "t" : NumberLong(13) }

      ,
      "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" :

      { "ts" : Timestamp(1554819946, 50), "t" : NumberLong(13) }

      ,
      "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" :

      { "ts" : Timestamp(1555311260, 90), "t" : NumberLong(13) }

      ,
      "optimeDate" : ISODate("2019-04-15T06:54:20Z"),
      "syncingTo" : "172.28.9.140:27017",
      "configVersion" : 1,
      "self" : true
      }
      ],
      "ok" : 1
      }

            Assignee:
            backlog-server-triage [HELP ONLY] Backlog - Triage Team
            Reporter:
            zxl zxl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: