[SERVER-49899] Create config.transactions cloner for resharding Created: 25/Jul/20  Updated: 29/Oct/23  Resolved: 14/Oct/20

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

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Eric Maynard
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-config-txn-clone
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after SERVER-49898 Write and test aggregation pipeline f... Closed
Related
related to SERVER-51750 config.transactions cloner for reshar... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-09-21, Sharding 2020-10-05, Sharding 2020-10-19
Participants:

 Description   

The config.transactions cloner for resharding should take the aggregation pipeline from SERVER-49898, run it against a particular donor, and update the config.transactions entries on itself (a recipient).

  • Serialize the aggregation pipeline from createConfigTxnCloningPipelineForResharding() using Pipeline::serializeToBson() and use the serialized form to create an AggregationRequest.
  • Add the necessary read concern and hint to the AggregationRequest.
  • Run the aggregate command on the remote donor. See the description of SERVER-49893 for some ideas on the options for this.
  • Follow the procedure for updating the entries (or inserting new entries) in the config.transaction table described in the design document.


 Comments   
Comment by Githook User [ 13/Oct/20 ]

Author:

{'name': 'Eric Maynard', 'email': 'eric.maynard@mongodb.com', 'username': 'ermay12'}

Message: SERVER-49899 Create config.transactions cloner for resharding (merges txns)
Branch: master
https://github.com/mongodb/mongo/commit/bbe604a5b3f94f78a30a76941ea89c0ca5db14d2

Comment by Githook User [ 02/Oct/20 ]

Author:

{'name': 'Eric Maynard', 'email': 'eric.maynard@mongodb.com', 'username': 'ermay12'}

Message: SERVER-49899 Create config.transactions cloner for resharding (only pulls txns, doesn't merge)
Branch: master
https://github.com/mongodb/mongo/commit/0b805a4119272e83f9ffe9bf7990397be9b0c7e9

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