[SERVER-39474] Fix incorrect use of "skip" parameter to configureFailPoint in txn_two_phase_commit_failover.js Created: 08/Feb/19  Updated: 29/Oct/23  Resolved: 12/Feb/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.8

Type: Bug Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2019-02-25
Participants:
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.



 Comments   
Comment by Githook User [ 12/Feb/19 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-39474 Fix incorrect use of 'skip' parameter to configureFailPoint in txn_two_phase_commit_failover.js
Branch: master
https://github.com/mongodb/mongo/commit/d8cef1c71c1e9d8c59e354e08db121046af68c21

Generated at Thu Feb 08 04:52:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.