[SERVER-33464] Write initial implementation of Promise and Future Created: 23/Feb/18  Updated: 29/Oct/23  Resolved: 03/Mar/18

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

Type: Task 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

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-02-26, Platforms 2018-03-12
Participants:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 25/May/18 ]

Author:

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

Message: SERVER-33420 SERVER-33464 Tell compiler not to allocate storage for constexpr bools

This is primarily to address what is probably a bug in our official gcc 5.4.
In --opt=off builds, gcc generates invalid assembly files that the assembler
errors out on due to emitting multiple definitions for these variables.

(cherry picked from commit 2999202e0ca0e2a911352acbc47643650e7cefb8)
Branch: v3.6
https://github.com/mongodb/mongo/commit/b2a19e08e215387a9fdde71a321711524ae42411

Comment by Githook User [ 12/Mar/18 ]

Author:

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

Message: SERVER-33464 support generic lambdas in future callbacks
Branch: master
https://github.com/mongodb/mongo/commit/a37c6c47747914c9a3d5433b4cca8e241f936b41

Comment by Githook User [ 09/Mar/18 ]

Author:

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

Message: SERVER-33464 Use functions rather than macros in future_test

This was making debugging harder because the macros caused the compiler to use
the same logical line number for the entire test.
Branch: master
https://github.com/mongodb/mongo/commit/3b8d164c6a14ca755716010829faa3f8cf743771

Comment by Githook User [ 06/Mar/18 ]

Author:

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

Message: SERVER-33420 SERVER-33464 Tell compiler not to allocate storage for constexpr bools

This is primarily to address what is probably a bug in our official gcc 5.4.
In --opt=off builds, gcc generates invalid assembly files that the assembler
errors out on due to emitting multiple definitions for these variables.
Branch: master
https://github.com/mongodb/mongo/commit/2999202e0ca0e2a911352acbc47643650e7cefb8

Comment by Githook User [ 06/Mar/18 ]

Author:

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

Message: SERVER-33464 Stop racing on Promise in future_test
Branch: master
https://github.com/mongodb/mongo/commit/66c77961ed11d2672c7b5fa54f477a42804ca7a7

Comment by Githook User [ 03/Mar/18 ]

Author:

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

Message: SERVER-33464 Initial Promise/Future implementation
Branch: master
https://github.com/mongodb/mongo/commit/4c97ba23c51ca5b8a5bcb3ea09f8292773aedd3d

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