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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.8
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2019-02-25
    • Linked BF Score:
      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

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: