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

Remove TTL index on tenant migration recipient state document namespace

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • Fully Compatible
    • Service Arch 2023-07-24, Service Arch 2023-08-07

      SERVER-67372 will make the tenant migration recipient 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 TenantMigrationRecipientService::_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:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: