[SERVER-71909] Split ASIOSession into a Sync and an Async class Created: 06/Dec/22 Updated: 29/Oct/23 Resolved: 06/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Diener (Inactive) | Assignee: | Matt Diener (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Service Arch
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2023-01-23, Service Arch 2023-02-06, Service Arch 2023-02-20, Service Arch 2023-03-06, Service Arch 2023-03-20, Service Arch 2023-04-03, Service Arch 2023-04-17 | ||||||||
| Participants: | |||||||||
| Description |
|
See design. The high level goal of this task is to remove the need to ever call ensureSync and ensureAsync by introducing two implementations of the ASIOSession:
In practice there is no current use case where a Session goes from being Async -> Sync while it's being leased out. Because of this, the NetworkInterface should be able to return the right ASIOSession subclass to the user. |
| Comments |
| Comment by Matt Diener (Inactive) [ 06/Apr/23 ] |
|
Closing this off since the remaining work associated with the split is already captured by other tickets in the project. |
| Comment by Githook User [ 22/Feb/23 ] |
|
Author: {'name': 'Matt Diener', 'email': 'matt.diener@mongodb.com', 'username': 'mattdiener'}Message: |