-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Replication
-
Repl 2024-06-24
One idea would be to defer the construction of the TransactionCoordinator object until the coordinateCommitTransaction command is received. This way for a single-transaction or other transaction commit types which don't require two-phase commit the system wouldn't need to run TransactionCoordinator::_done() as a task on the fixed executor to simply destroy the TransactionCoordinator object and decrement counters.
- is related to
-
SERVER-90633 Protect shards from aggressive commitTransaction (et. al.) operations
- Backlog
-
SERVER-90186 Fixed and Arbitrary executors names can lead to confusion
- Open
-
SERVER-90729 Revisit design of TransactionCoordinator with goal to bound the number of threads it spawns
- Backlog