[SERVER-10650] Add a Server Fail point on MaxTimeMS Created: 29/Aug/13  Updated: 02/Aug/18  Resolved: 12/Sep/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.5.2
Fix Version/s: 2.5.3

Type: Task Priority: Major - P3
Reporter: Amalia Hawkins Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-1919 Document : Server automatically abort... Closed
Related
is related to SERVER-10788 Writable views Backlog
Participants:

 Description   

Enabling the maxTimeAlwaysTimeOut fail point will cause any query or command run with a valid non-zero max time to fail immediately. Any getmore operation on a cursor already created with a valid non-zero max time will also fail immediately.

Original below:

Please add a server fail point that will make the next command or query time out, so that we can run a command that says, "I'm going to test MaxTimeMS, please time out the next thing I do with appropriate error." for ease of testing drivers.



 Comments   
Comment by auto [ 12/Sep/13 ]

Author:

{u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-10650 Add new fail point maxTimeAlwaysTimeOut
Branch: master
https://github.com/mongodb/mongo/commit/887aa5ba231e7ed8b7be86d4dac6bf0a211f91d5

Generated at Thu Feb 08 03:23:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.