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

Consider moving static checks in rename collection into the command itself

    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-07-10

      We should move the static checks in the `RenameCollectionCoordinator`  into the renameCollection command itself. This is so that the checks can be performed before any threads are even scheduled or before any locks are even taken.

      Alternatively, we could consider adding something to the command infrastructure where there is some static checking phase.

            Assignee:
            pau.baldillou-salse@mongodb.com Pau Baldillou Salse (Inactive)
            Reporter:
            wenqin.ye@mongodb.com Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: