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

Check `shardCollection` config namespaces validity on the router

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Minor - P4 Minor - P4
    • None
    • 5.2.0, 5.1.0, 5.0.4
    • Sharding
    • None
    • Sharding EMEA

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: