Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69236

Remove TTL index on tenant migration donor state document namespace

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: