Details
-
New Feature
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Service Arch 2020-08-24, Service arch 2020-09-07, Service arch 2020-10-05, Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30, Service arch 2020-12-14
-
0
Description
buildInfo is implemented here and here. The body of both run() functions write static data into a BSONObj. This makes buildInfo uniquely simple to convert to the async Command API. We merely do the write and fulfill a promise on a background thread or an unbounded global executor. This allows us to continue onto the networking sink on thread. In a fully async context, this would have three execution contexts:
- Source and parse on a networking reactor
- Write and sink on a command executor
- Clean up on the client executor
Attachments
Issue Links
- causes
-
SERVER-53305 Control AsyncRequestExecutor via ConstructorDestructorActions
-
- Closed
-
- depends on
-
SERVER-49107 Add async command API
-
- Closed
-