Preserve chunks entries upon sharded collection rename

XMLWordPrintableJSON

    • Sharding
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              [DO NOT USE] Backlog - Sharding Team
              Reporter:
              Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: