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

mongodb 4.4 secondary hang

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      hello:
      my replication is pss.but just only one slave hang .

      MongoDB shell version v4.4.12
      connecting to: mongodb://127.0.0.1:31004/admin?compressors=disabled&gssapiServiceName=mongodb
      Implicit session: session

      { "id" : UUID("f59fd32f-30cc-42db-b8e4-393c1a8384ed") }

      MongoDB server version: 4.4.12

      shard4:SECONDARY> rs.printSlaveReplicationInfo()
      WARNING: printSlaveReplicationInfo is deprecated and may be removed in the next major release. Please use printSecondaryReplicationInfo instead.
      source: mongotest11.prd.db:31004
      syncedTo: Fri Jul 08 2022 09:38:12 GMT+0800 (CST)
      2 secs (0 hrs) behind the primary
      source: mongotest13.prd.db:31004
      syncedTo: Fri Jul 08 2022 09:08:31 GMT+0800 (CST)
      1783 secs (0.5 hrs) behind the primary
      shard4:SECONDARY> show dbs;

      i execute show dbs, it is hang.

      i collect pstack for mongodb.
      pstack 89347 >/tmp/89347.log

        1. 89347.log
          2.56 MB
          jing xu
        2. currentOp.log
          1003 kB
          jing xu

            Assignee:
            edwin.zhou@mongodb.com Edwin Zhou
            Reporter:
            601290552@qq.com jing xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: