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

Make ShardServerProcessInterface::createCollection use shardsvrCreateCollection

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2023-11-27, CAR Team 2023-12-11, CAR Team 2023-12-25, CAR Team 2024-01-08, CAR Team 2024-01-22, CAR Team 2024-02-05

      Currently ShardServerProcessInterface::createCollection is based on the sharding-unaware 'create' command. It should be changed to use _shardsvrCreateCollection with

      {unsplittable:true}

      so that the new collection gets registered on the sharding catalog.

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: