-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
Server Serverless 2022-11-14, Server Serverless 2022-11-28, Service Arch 2023-08-07, Service Arch 2023-08-21, Service Arch 2023-09-04, Service Arch 2023-09-18
SERVER-65236 made the tenant migration donor directly delete its state document from its run() method, so the TTL index on the state document namespace is no longer needed.
This ticket should stopĀ calling createIndexes for the TTL index in TenantMigrationDonorService::_rebuildService, and should instead call dropIndexes there to drop the TTL index if it exists because an earlier deployment was upgraded to the newer binaries.
This ticket should also add an upgrade/downgrade test under jstests/multiVersion that an existing TTL index gets deleted on upgrade.
- is depended on by
-
SERVER-61717 Ensure a POS instance remains in the POS map until the instance's run() is complete
- Open
- is related to
-
SERVER-69235 Remove TTL index on tenant migration recipient state document namespace
- Closed
- related to
-
SERVER-65236 Make tenant migration donor delete its state doc in its run method
- Closed