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

Fix incorrect use of "skip" parameter to configureFailPoint in txn_two_phase_commit_failover.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.8
    • Sharding
    • Fully Compatible
    • ALL
    • Sharding 2019-02-25
    • 50

    Description

      1) Specify "skip" as the "mode" parameter, not as a separate field

      2) For the test cases where the config server is the coordinator, if "skip" is specified, increment "skip" in addition to "numTimesShouldBeHit"

      3) This line should probably go inside the if block above it for all the coordinator failpoints, otherwise I think the skip will be incremented twice, once for the if-condition and once on that line.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: