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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.3
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2020-11-16, Execution Team 2020-11-30
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              Assignee:
              dianna.hohensee Dianna Hohensee
              Reporter:
              dianna.hohensee Dianna Hohensee
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: