[SERVER-39183] Change $where to respect socket disconnection Created: 24/Jan/19 Updated: 29/Oct/23 Resolved: 10/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Service Arch 2019-01-28, Service Arch 2019-02-11, Service Arch 2019-02-25 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 68 | ||||||||||||||||
| Description |
|
$where can normally only detect disconnection through invocation of it's kill() method. changing the proxy scope to wait on an opCtx would allow us to detect disconnect normally (by allowing us to do baton work while javascript was executing) and issue a kill to the implscope from the proxy scope |
| Comments |
| Comment by Githook User [ 11/Feb/19 ] |
|
Author: {'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}Message: It's not necessary about races with killop |
| Comment by Githook User [ 10/Feb/19 ] |
|
Author: {'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}Message: |