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

Foribid sharding collections in admin database

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding EMEA 2023-05-01

      Starting from 7.0 SERVER-74567 it is possible to shard collections in `admin` database.

      Before 7.0 the shardCollection operation for `admin` collections were directed to the config server, and they were failing with NoShardingEnabled because _shardsvrCreateCollection command was performing this check that was failing on the config server.

      Since SERVER-74567 this check is passing on the config server that now has both configsvr and shardsvr roles.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: