[SERVER-37804] Using a Future after an interrupted wait() should work Created: 29/Oct/18  Updated: 29/Oct/23  Resolved: 17/Nov/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.1.6

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Service Arch 2018-11-05, Service Arch 2018-11-19
Participants:

 Description   

When we made wait() interruptable, it broke an assumption in the original implementation of Future that you would never attach a continuation or wait on a future when it was already in the kWaiting state.



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

Author:

{'name': 'Mathias Stearn', 'email': 'mathias@10gen.com', 'username': 'RedBeard0531'}

Message: SERVER-37804 Fix usage of a Future after waiting fails
Branch: master
https://github.com/mongodb/mongo/commit/df779691e329a912431b6e16663a7306c0038f67

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