[SERVER-53587] Integrate CancelationTokens with Future types Created: 05/Jan/21  Updated: 29/Oct/23  Resolved: 18/Feb/21

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

Type: New Feature Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Matthew Saltz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-50659 Design CancelationToken integration w... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2021-02-22
Participants:
Story Points: 4

 Description   

This ticket is to do the following functionality:

  • Add ability to do asynchronous, interruptible waits on a future using
    CancelationTokens
  • Add ability to do synchronous, interruptible waits on a future using
    CancelationTokens
  • Add ability to cancel a future chain using CancelationTokens

Depending on SERVER-50659, we may break this into several tickets



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

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}

Message: SERVER-53587 Create withCancelation function for doing cancelable waits on a future
Branch: master
https://github.com/mongodb/mongo/commit/6500c1a8363799a55245fd6b493bfe6f561d9373

Comment by Matthew Saltz (Inactive) [ 02/Feb/21 ]

This ticket will encompass creating a single free function withCancelation(FutureT, CancelationToken). See SERVER-50659 for more details and usage. As such I'm decreasing the story points.

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