Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9519

Docs for SERVER-23663: New primary syncs from chosen node to catch up with timeout

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • manual, Server
    • None

    Description

      Engineering Ticket Description:

      To avoid unnecessary rollback after a PV1 election, the new primary finds the node with the highest lastOpTime, then tries to sync all the oplog from that node to catch up its opTime. This ticket is for the catch-up phase.

      If the catch-up timeout expires before we exhaust all the sync source’s oplog entries, the new primary ends the catch-up phase and proceeds to exit drain mode like normal.
      If the query from the remote node fails, treat the same as if the catch-up timeout expired. Do not attempt to choose a new sync source.

      Attachments

        Issue Links

          Activity

            People

              kay.kim@mongodb.com Kay Kim (Inactive)
              emily.hall Emily Hall
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 9 weeks, 2 days ago