[SERVER-46225] Add Interrupted to timeout codes accepted by server_status_with_time_out_cursors.js Created: 18/Feb/20  Updated: 29/Oct/23  Resolved: 19/Feb/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.4

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

Issue Links:
Depends
Related
is related to SERVER-46227 MozJSImplScope::kill() check for "cor... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 42

 Description   

As of SERVER-42736 we no longer set a value for MozJSImplScope::MozRuntime::_thread. We use the id of _thread in MozJSImplScope::kill() however to confirm whether the thread that created the scope object and the current thread are the same. If so, we extract a kill status object from the OperationContext which is returned to the user.

SERVER-46227 will fix the "can we access the OperationContext" check so that we can return the correct "kill" error code when possible.



 Comments   
Comment by Githook User [ 18/Feb/20 ]

Author:

{'username': 'jameswahlin', 'name': 'James Wahlin', 'email': 'james@mongodb.com'}

Message: SERVER-46225 Add Interrupted to timeout codes accepted by server_status_with_time_out_cursors.js
Branch: master
https://github.com/mongodb/mongo/commit/910101068ecd38781b32dbc71fb0bde5a1df1970

Generated at Thu Feb 08 05:10:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.