[SERVER-29651] Interrupt signal is ignored when received inside certain functions. Created: 15/Jun/17  Updated: 30/Oct/23  Resolved: 07/Jul/17

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: None
Fix Version/s: 3.2.18, 3.4.10, 3.5.10

Type: Bug Priority: Major - P3
Reporter: Ted Tuckman Assignee: Ted Tuckman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-29666 Interrupt signal should cause localCo... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4, v3.2
Sprint: Platforms 2017-06-19, Platforms 2017-07-10
Participants:
Linked BF Score: 51

 Description   

When there is an interrupt signal that should be handled during get/set in implscope functions that can fail, they don't pass up the interrupt. They instead pass up that they were forced to exit with their own errors, and the interrupt signal is lost. During the mr_killop test, this results in the test hanging – the mr operation is not killed, but the test is still waiting for an acknowledgement. This only happens when there is at least one function in db.system.js.



 Comments   
Comment by Githook User [ 04/Oct/17 ]

Author:

{'email': 'ted.tuckman@mongodb.com', 'name': 'Ted Tuckman', 'username': 'TedTuckman'}

Message: SERVER-29651 Interrupts are caught in implscope functions or by the deadline monitor if neccessary.

(cherry picked from commit ce5e5fdfcad9ee0b3b08954982ded2a4bdfd8ac2)
Branch: v3.4
https://github.com/mongodb/mongo/commit/a177a4691b146704279ab2e73168a01c18be02c2

Comment by Githook User [ 04/Oct/17 ]

Author:

{'email': 'ted.tuckman@mongodb.com', 'name': 'Ted Tuckman', 'username': 'TedTuckman'}

Message: SERVER-29651 Interrupts are caught in implscope functions or by the deadline monitor if neccessary.

(cherry picked from commit ce5e5fdfcad9ee0b3b08954982ded2a4bdfd8ac2)
Branch: v3.2
https://github.com/mongodb/mongo/commit/ecf73def6797d9d61472a5c800b41e98803023f5

Comment by Mira Carey [ 13/Jul/17 ]

We'll want to deal with this for 3.4 as well

Comment by Ian Whalen (Inactive) [ 13/Jul/17 ]

Drew, given the failure seen in 3.2 I'm requesting a backport to that branch but have no opinion on whether it should be done.

Comment by Githook User [ 07/Jul/17 ]

Author:

{u'username': u'TedTuckman', u'name': u'Ted Tuckman', u'email': u'ted.tuckman@mongodb.com'}

Message: SERVER-29651 Interrupts are caught in implscope functions or by the deadline monitor if neccessary.
Branch: master
https://github.com/mongodb/mongo/commit/ce5e5fdfcad9ee0b3b08954982ded2a4bdfd8ac2

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