[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: |
|
||||||||||||||||||||||||||||
| 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: (cherry picked from commit 85101a7e36d99ed4ceb0baf9d70e8481b25e35dd) |
| Comment by Githook User [ 29/May/18 ] |
|
Author: {'username': 'lankas', 'name': 'Samy Lanka', 'email': 'samy.lanka@gmail.com'}Message: |
| 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. |