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

Stepdown thread should perform w:all write after stepping up and restarting node

    XMLWordPrintable

Details

    • ALL
    • STM 2019-09-09, STM 2020-01-09
    • 19
    • 3

    Description

      After the stepdown thread steps up a node, any of the other nodes in the set may go into rollback. This rollback can happen at unpredictable times, since it is based on when the node gets a new batch and triggers the OplogStartMissing error. When rollback occurs, the node closes all of its connections, and the stepdown thread is not robust to connections closing at arbitrary points. The stepdown thread can wait for all rollbacks to complete by performing a w:"all" write after stepping up a node.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: