[SERVER-66246] Optimize Tenant Migration Concurrent test runtime Created: 05/May/22  Updated: 29/Oct/23  Resolved: 17/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.1, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-66365 Copy missing applicable JSTests after... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Server Serverless 2022-05-16, Server Serverless 2022-05-30
Participants:

 Description   

The current version of tenant_migration_concurrent_writes_on_donor.js takes a very long time to run resulting in the evergreen patch to timeout.

There is already SERVER-66027 to help reduce the runtime.

However the logic of this test can also be improved by executing all the test case per tenant migration while blocking the tenant migration, checking the tenant access blockers for each test case while the migration is blocked and finish the migration once all the tenant access blockers for each test case have been tested.

This is to simplify the amount of time we create a tenant migration operation which are currently created per test case * per command to be tested.



 Comments   
Comment by Githook User [ 27/Jul/22 ]

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-66246 refactoring tenant_migration_concurrent_writes_on_donor tests

(cherry picked from commit 2cd9b2a9ee09e9f4e9ee8b16df57c99ab01a9c42)
Branch: v6.0
https://github.com/mongodb/mongo/commit/cb3637653ae14c90b1c39cc838ecd05dacf49c07

Comment by Githook User [ 17/May/22 ]

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-66246 refactoring tenant_migration_concurrent_writes_on_donor tests
Branch: master
https://github.com/mongodb/mongo/commit/2cd9b2a9ee09e9f4e9ee8b16df57c99ab01a9c42

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