Rename preconditions for sharded collections

XMLWordPrintableJSON

    • Sharding 2020-12-28, Sharding 2021-01-11, Sharding 2021-01-25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: