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

Replica sets are going into recovery mode while running calls at 20k TPS

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
      1. Run calls at 20k TPS
      2. Some replica sets will go into recovery mode

      Our setup is capable of running calls at 50-60k TPS and during this some of our replica sets were going into recovery mode and they couldn't sync with the primary. I know that I can recover my system by stopping mongo, deleting data sets and then starting it back on will sync with primary as per the guide https://docs.mongodb.com/manual/tutorial/resync-replica-set-member/

      We saw the below error message on our logs 

      Resync is needed for secondary member SESSION-SET12:set01j2:vm01:27737 this member is lagging behind by 14747 seconds from the primary

      Recovering system is not an issue but would like to know why some of our replica sets are going into recovery mode in the first place and request you to kindly assist

      Mongo version
      [root@vm01 ~]# rpm -qa | grep mongo
      mongodb-org-3.6.17-1.el8.x86_64
      mongodb-org-mongos-3.6.17-1.el8.x86_64
      mongodb-org-tools-3.6.17-1.el8.x86_64
      mongodb-org-server-3.6.17-1.el8.x86_64
      mongodb-org-shell-3.6.17-1.el8.x86_64a

      Thanks and Regards,

      Azhar

            Assignee:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Reporter:
            rizwiazhar@gmail.com Azhar Yousuf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: