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

Resolve race condition in oplog fetcher unittests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc7, 4.7.0
    • 4.5 Required
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Repl 2020-05-04, Repl 2020-05-18
    • 0

    Description

      It seems like the linked BF happens because of a race condition. We shut down the mocked remote server and then start up the oplog fetcher. After we start up the oplog fetcher, we assert that it is active. This seems to be the line that is flaky, since it seems possible for the node to try to connect, and fail, before the assertion.

      Attachments

        Activity

          People

            xuerui.fa@mongodb.com Xuerui Fa
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: