[SERVER-60532] [Upgrade/downgrade] Make mongos fallback to previous way of handling WouldChangingOwningShard when internal transactions are not supported Created: 07/Oct/21  Updated: 17/Nov/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-59186 [API] Use internal transaction API fo... Closed
Related
is related to SERVER-64540 Add feature flag just for using txn A... Closed
Assigned Teams:
Cluster Scalability
Sprint: Sharding 2022-03-07
Participants:
Story Points: 2

 Description   
  • Make WouldChangeOwningShard error have a "supportInternalTransactions" flag that is set to true if the mongod throwing the error (on original owning shard) is in FCV latest.
  • Make mongos will fallback to the previous implementation of WouldChangingOwningShard handling upon seeing this flag or a InternalTransactionNotSupported error after trying to handle the error using internal transactions.


 Comments   
Comment by Jack Mulrow [ 11/Jan/22 ]

Making desired because this may not be necessary if we don't enable the feature flag for handling WouldChangeOwningShard errors for 6.0.

Generated at Thu Feb 08 05:50:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.