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

Make FailPoint::pauseWhileSet not increment _timesEntered

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-12-02
    • 11

      pauseWhileSet calls shouldFail while waiting for the fail point to be turned off. So it causes _timesEntered to be incremented continuously. So the waitForFailPoint command will return early for timesEntered > 1.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: