[SERVER-27465] rewrite killop.js using setYieldAllLocksHang failpoint Created: 19/Dec/16  Updated: 05/Apr/17  Resolved: 17/Jan/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.4.2, 3.5.2

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-01-23
Participants:
Linked BF Score: 0

 Description   

As it's currently written the test uses a long-running $where query so that it has an operation to kill, but this can be more reliably achieved using the setYieldAllLocksHang failpoint. Doing so will remove the timing related assertions of the test such as this one and make the test more reliable.

To use the failpoint, we'll have to move the test out of core and into noPassthrough. While doing this, we should ensure we still get the coverage we want that we were getting via passthrough suites (e.g. killing an operation through a mongos).



 Comments   
Comment by Githook User [ 18/Jan/17 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-27465 rewrite killop.js using setYieldAllLocksHang failpoint

(cherry picked from commit 2ead884968ba7564e9cedf5e8b0e588ad5c031de)
Branch: v3.4
https://github.com/mongodb/mongo/commit/09e64473f6989e9338d11d0e702ceadf1050b31c

Comment by Githook User [ 17/Jan/17 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-27465 rewrite killop.js using setYieldAllLocksHang failpoint
Branch: master
https://github.com/mongodb/mongo/commit/2ead884968ba7564e9cedf5e8b0e588ad5c031de

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