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

Ensure resharding cleans up global index metadata on donor shards

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2023-02-06

    Description

      During resharding, we are renaming global index metadata on recipients. However, on donor shards that are not also acting as recipients, we are not cleaning up the global index metadata.
      We should add a call to dropCollectionGlobalIndexesMetadata while dropping the original collection if the collection has an index version and the shard is not a recipient.

      Attachments

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: