[SERVER-35004] Add functionality to only fail specific command(s) in failCommand failpoint Created: 15/May/18  Updated: 29/Oct/23  Resolved: 30/May/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.0-rc2, 4.1.1

Type: Improvement Priority: Major - P3
Reporter: Vesselina Ratcheva (Inactive) Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-34960 Add a way to enter a failpoint withou... Closed
Related
related to SERVER-22563 Establishing remote cursor during rol... Closed
related to SERVER-34943 failCommand failpoint should ignore c... Closed
is related to SERVER-35083 Extend failCommand to return write co... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Repl 2018-06-04
Participants:

 Description   

It would be useful to be able to trigger the 'failCommand' failpoint only for one or more commands of the user's choice. This would be especially helpful in conjunction with 'times' or 'skip', as there is currently no reasonable alternative.



 Comments   
Comment by Githook User [ 31/May/18 ]

Author:

{'username': 'lankas', 'name': 'Samy Lanka', 'email': 'samy.lanka@gmail.com'}

Message: SERVER-35004 Add functionality to only fail specific commands in failCommand failpoint

(cherry picked from commit 85101a7e36d99ed4ceb0baf9d70e8481b25e35dd)
Branch: v4.0
https://github.com/mongodb/mongo/commit/ae63f6a809d8c8a10cbfc50862a00d2cce52c8f5

Comment by Githook User [ 29/May/18 ]

Author:

{'username': 'lankas', 'name': 'Samy Lanka', 'email': 'samy.lanka@gmail.com'}

Message: SERVER-35004 Add functionality to only fail specific commands in failCommand failpoint
Branch: master
https://github.com/mongodb/mongo/commit/85101a7e36d99ed4ceb0baf9d70e8481b25e35dd

Comment by Samyukta Lanka [ 29/May/18 ]

We decided that if a user specifies "configureFailPoint" in "failCommands", we will ignore it. If any other commands were specified in "failCommands" at the same time, we'll still fail on them.

Comment by Gregory McKeon (Inactive) [ 21/May/18 ]

vesselina.ratcheva we're setting this to backlog, but are happy to review any submitted PR's.

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