[SERVER-50104] [passthrough suite] Add a jscore passthrough that does tenant migrations in the background Created: 04/Aug/20  Updated: 29/Oct/23  Resolved: 04/Sep/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: pm-1791_milestone-A
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-50493 [passthrough suite] Make tenant_migra... Closed
Related
related to SERVER-67043 remove TestData.disableBatchWrites fr... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-09-07
Participants:

 Description   

The passthrough will probably need to:

  • Have some kind of override that simulates the proxy's retry logic
  • Set up at least two replica sets and run migrations between them

Open questions:

  • How does the fixture know which databases exist to run migrations for? Should the override add a prefix to all databases and the fixture runs migrations for that prefix?
  • Should we test concurrent migrations on different databases? I don't think this is required for the first attempt at this, but it may be worth thinking about how that could work

The passthrough should abort all tenant migrations until migrations actually copy the data over safely.



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

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-50104 Implement proxy's retry logic for non-batch write commands
Branch: master
https://github.com/mongodb/mongo/commit/a4bd6d8c91b03940bae67035ac04b41087a8c7fa

Comment by Githook User [ 28/Aug/20 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-50104 Make the test hook run a background migration on the data used by tests
Branch: master
https://github.com/mongodb/mongo/commit/7b0f4781f878fc7c231c2a1ed7fc20fd9ca1a1e6

Comment by Githook User [ 27/Aug/20 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-50104 Add a test hook that runs a background migration that involves only the donor side on a database that no tests use
Branch: master
https://github.com/mongodb/mongo/commit/6791200c0513187dc193895af70cc170db9afc78

Comment by Githook User [ 24/Aug/20 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-50104 Add a tenant migration jscore passthrough that uses ReplicaSetFixture
Branch: master
https://github.com/mongodb/mongo/commit/2dbf299e8efe89235d87e55682e39e6db7173131

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