Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2583

Allow failPoints to disable "isMaster" failPoints

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing
    • None

    Description

      Currently the `failPoint` helpers are unable to clear an "isMaster" failPoint.

      Fortunately, this currently does not affect the tests.

      In the case of a single mongos, the failpoint should be cleared when when the driver rapidly starts requesting heartbeats when subsequent tests run.

      In the case of multiple mongoses, the other mongos will be selected, and heartbeats will slowly disable the the failpoint on the other mongos.

      rstam's proposal that the failpoint helper seems reasonable: the failpoint helper should hang on to the channel instead of the server, that way it has a dedicated already-opened connection it can use to clear the failpoint.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vincent.kam@mongodb.com Vincent Kam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: