[SERVER-50304] Coordinator updates config.reshardingOperations and config.collections entries in a single rs transaction upon state changes Created: 13/Aug/20  Updated: 29/Oct/23  Resolved: 28/Sep/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: PM-234-M1, PM-234-T-lifecycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-50957 Move anonymous functions which run wr... Closed
Duplicate
is duplicated by SERVER-49571 Implement coordinator functionality t... Closed
is duplicated by SERVER-50186 Create insertConfigDocuments on catal... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-08-24, Sharding 2020-09-21, Sharding 2020-10-05
Participants:
Linked BF Score: 0

 Description   

When the resharding coordinator changes states, it must update the config.reshardingOperations entry for the rehsharding op and one or both of the config.collections entries for the original/temporary collections. These writes should be done in a transaction.



 Comments   
Comment by Githook User [ 26/Sep/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-50304 fix use-after-move
Branch: master
https://github.com/mongodb/mongo/commit/b893fe9695ab69ef28782bda1deff9cb2c070d9a

Comment by Githook User [ 25/Sep/20 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-50304 Write resharding state and catalog updates in transactions
Branch: master
https://github.com/mongodb/mongo/commit/c812474551dd4c4aa15645a55eeb7639f71c8b84

Comment by Githook User [ 25/Sep/20 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: Revert "SERVER-50304 Write resharding state and catalog updates in transactions"

This reverts commit 8f05abe10bb89b702567f85248268c83ab1cb922.
Branch: master
https://github.com/mongodb/mongo/commit/290a414a08695acd8d5d8a9eccecb09ae0490856

Comment by Githook User [ 25/Sep/20 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-50304 Write resharding state and catalog updates in transactions
Branch: master
https://github.com/mongodb/mongo/commit/8f05abe10bb89b702567f85248268c83ab1cb922

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