[SERVER-50341] Make generic whenAll, whenAny, collect utilities for futures Created: 17/Aug/20  Updated: 29/Oct/23  Resolved: 25/Sep/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.8.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
is depended on by SERVER-50424 Make resharding refresh retryable and... Closed
Duplicate
is duplicated by SERVER-35680 waitAny waitAll for futures Closed
Related
related to SERVER-50371 Make a version of TaskExecutor::sched... Closed
related to SERVER-50609 Make generic doWhile utility for futures Closed
Backwards Compatibility: Fully Compatible
Sprint: Service arch 2020-09-07, Service arch 2020-09-21, Service arch 2020-10-05
Participants:

 Description   

Implement helper functions to asynchronously aggregate futures



 Comments   
Comment by Githook User [ 25/Sep/20 ]

Author:

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

Message: SERVER-50341 Use std::shuffle instead of deprecated std::random_shuffle
Branch: master
https://github.com/mongodb/mongo/commit/8c10427af37213b391420aa8f9e160e435961920

Comment by Githook User [ 24/Sep/20 ]

Author:

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

Message: SERVER-50341 Add whenAny and whenAll
Branch: master
https://github.com/mongodb/mongo/commit/39cb1d7307652e105e1b12317ef0e671c39d567c

Comment by Githook User [ 24/Sep/20 ]

Author:

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

Message: SERVER-50341 Make generic whenAllSucceed utility for futures
Branch: master
https://github.com/mongodb/mongo/commit/cc334f02a86a9fd66b5a36b138b7030af13e490d

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