[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: |
|
||||||||
| 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: (cherry picked from commit 2ead884968ba7564e9cedf5e8b0e588ad5c031de) |
| 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: |