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

Remove TTL index on tenant migration donor state document namespace

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • 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

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: