Check `shardCollection` config namespaces validity on the router

XMLWordPrintableJSON

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

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

              Created:
              Updated:
              Resolved: