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

Race in setting failpoint during wt_file_helper.js assertStartInReplSet

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1, 4.2.2
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Execution Team 2019-07-29
    • 21

    Description

      The wt_file_helper.js assertStartInReplSet function sets a failpoint that allows initial sync status information to be included in ReplSetGetStatus output after a successful initial sync (usually, this status information is unavailable after a successful initial sync). However, on a slow machine, the initial sync can complete before the failpoint is set, resulting in an undefined value for initialSyncStatus.

      Setting this failpoint on start up of the replica set avoids this race.

      Attachments

        Activity

          People

            maria.vankeulen@mongodb.com Maria van Keulen
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: