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

Race in setting failpoint during wt_file_helper.js assertStartInReplSet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.2
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Execution Team 2019-07-29
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: