[SERVER-31508] native_sleep used by JavaScript should be interruptable Created: 10/Oct/17  Updated: 30/Oct/23  Resolved: 27/Apr/18

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: None
Fix Version/s: 3.6.10, 4.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-35061 Javascript sleep should always emit a... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Platforms 2018-04-23, Platforms 2018-05-07
Participants:
Linked BF Score: 0

 Description   

The OperationContext carries interrupt information. If we thread it through the JS layer, into the native functions, we could respond to interrupt signals immediately.



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

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-31508: Make Javascript sleep interruptable

(cherry picked from commit 8bd820b1418fd1811ed7c79bbd60bbb2c9d7cb5c)
Branch: v3.6
https://github.com/mongodb/mongo/commit/4647aaac5119cc512fd4e1f566a2a88d9a73bc83

Comment by Githook User [ 27/Apr/18 ]

Author:

{'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson', 'name': 'Spencer Jackson'}

Message: SERVER-31508: Make Javascript sleep interruptable
Branch: master
https://github.com/mongodb/mongo/commit/8bd820b1418fd1811ed7c79bbd60bbb2c9d7cb5c

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