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

Rename preconditions for sharded collections

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding 2020-12-28, Sharding 2021-01-11, Sharding 2021-01-25

    Description

      As part of the rename flow for sharded collections, the db primary shard should check for the following conditions to be met before starting the rename process:

      • Check that `dropTarget` is true if the destination collection already exists
      • Check that no tags exist for the destination collection

      If any of those conditions is not respected, the rename command should fail.

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: