-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Cluster Scalability
-
Fully Compatible
-
ALL
-
v8.0
-
Cluster Scalability 2024-4-29, Cluster Scalability 2024-5-13, Cluster Scalability 2024-5-27, Cluster Scalability 2024-6-10, Cluster Scalability 06/24/24
-
200
The original motivation for adding the readOnly value `kOutstandingAdditionalParticipant` to the TransactionRouter was to prevent ever choosing a read-optimized commit path in the event an additional participant did a write on a getMore request, but the shard that added the participant responded back to the parent router before hearing of the write. Today, we don't actually allow writes in transactions in getMores, so this was an extra layer of protection - SERVER-88515 made it so that the getMore command will fatally fail if a write is done while in a transaction, so the special readOnly value and handling in the transaction router isn't necessary.
- is related to
-
SERVER-89275 Set shard marked as outstanding as recovery shard if recovery shard not yet chosen
- Closed
- related to
-
SERVER-90441 Ensure transaction participants which are outstanding to top-level TransactionRouter only did reads at time of prepare
- Backlog