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

[v4.4] The snapshot window code must use TestingProctor consistently and not getTestCommandsEnabled

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.3
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-11-16, Execution Team 2020-11-30
    • 25

    Description

      The code currently works because we most often have both TestingProctor and getTestCommandsEnabled enabled. This issue was found when a test suite encountered a bug such that TestingProctor was disabled when it shouldn't have been. This invariant was hit (because of the bug) while this invariant was OK, allowing the window size to increase and cause the first invariant to eventually fire.

      TestingProctor was recently introduced to the codebase and is now the proper choice for this use case.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: