Race in setting failpoint during wt_file_helper.js assertStartInReplSet

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1, 4.2.2
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • v4.2
    • Execution Team 2019-07-29
    • 21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Maria van Keulen
              Reporter:
              Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: