-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Sharding 2021-10-04, Sharding 2021-10-18
-
3
From the design:
To avoid creating too many sessions, internal sessions used for a command not running in a session can come from a session pool. To make these internals sessions reusable, the pool will need to track the last used txnNumber in each session and the user of that session can only run transactions with txnNumber greater than the last used one.
This should be very similar to the ShardingDDLCoordinator::SessionCache so we may want to extend that class (and move it out of the ShardingDDLCoordinator class).
- depends on
-
SERVER-58751 Support internal sessions
- Closed
- related to
-
SERVER-70093 move OpObserver tests to new target in db/op_observer/SConscript
- Closed