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

Check `shardCollection` config namespaces validity on the router

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 5.2.0, 5.1.0, 5.0.4
    • Component/s: Sharding
    • Labels:
      None
    • Sharding EMEA

      Currently, in case a user issues a command to shard a config collection, it happens the following:

      Since it is not correct to instantiate DDL coordinator for config namespaces (other than config.sessions), the check should be moved directly on the router. Similarly to the way the rename collection command checks for invalid namespaces.

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

              Created:
              Updated:
              Resolved: