[SERVER-64540] Add feature flag just for using txn API for updating document shard key value Created: 15/Mar/22  Updated: 29/Oct/23  Resolved: 31/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Sanika Phanse (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
Related
related to SERVER-60532 [Upgrade/downgrade] Make mongos fallb... Backlog
is related to SERVER-59186 [API] Use internal transaction API fo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-03-21, Sharding NYC 2022-04-04
Participants:
Linked BF Score: 156

 Description   

As of SERVER-59186, we use the internal transaction API for updates that change a document's shard key value and cause it to move shards. That behavior is guarded by the feature flag for PM-2210 (here and here). The performance of the transaction API path is worse than the original implementation, so we should add a new feature flag just to guard that path so we have more time to investigate and can still enable the API for 6.0 projects that need it.



 Comments   
Comment by Githook User [ 31/Mar/22 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-64540 Add feature flag just for using txn API for updating document shard key value
Branch: master
https://github.com/mongodb/mongo/commit/128760e188aa4dfb122f35a801eab446a862c4ba

Comment by Githook User [ 30/Mar/22 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: Revert "SERVER-64540 Add feature flag just for using txn API for updating document shard key value"

This reverts commit 8cf8aae5cb3ce6892ad1714043db6b66aafc9fbc.
Branch: master
https://github.com/mongodb/mongo/commit/3b106406facd601fff4f4607db74af626adab4ad

Comment by Githook User [ 29/Mar/22 ]

Author:

{'name': 'sphanse99', 'email': '32846893+sphanse99@users.noreply.github.com', 'username': 'sphanse99'}

Message: SERVER-64540 Add feature flag just for using txn API for updating document shard key value
Branch: master
https://github.com/mongodb/mongo/commit/8cf8aae5cb3ce6892ad1714043db6b66aafc9fbc

Generated at Thu Feb 08 06:00:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.