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

Preserve chunks entries upon sharded collection rename

    • Sharding

      Once SERVER-53105 will be completed, the rename flow is not expected to delete the chunks because the namespace field will be gone allowing for chunk entries to be preserved instead of copied.

      The removeCollMetadataFromConfig method must be modified to take that into account.

      A possible solution would be to pass a boolean deleteChunks - instead of the collection uuid - expecting the method to retrieve the uuid from the config.collection entry (if exists) before proceed with the deletion.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: