[SERVER-81844] Make ShardServerProcessInterface::createCollection use shardsvrCreateCollection Created: 04/Oct/23  Updated: 31/Jan/24  Resolved: 31/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Aitor Esteve Alvarado
Resolution: Fixed Votes: 0
Labels: 8.0-Make-All-Deployments-Sharded-Clusters
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-83167 Incorporate the new upgrade command l... Closed
depends on SERVER-83266 Incorporate the new downgrade command... Closed
depends on SERVER-85851 Modify ShardingTest to add --upgradeB... Closed
is depended on by SERVER-79718 Remove HostTypeRequirement::kPrimaryS... Closed
Related
related to SERVER-79158 Make createCollection command to use ... Closed
related to SERVER-81189 Transform `create` requests in sharde... Closed
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Sprint: 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
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 31/Jan/24 ]

Author:

{'name': 'atesteve', 'email': 'aitor.esteve@mongodb.com', 'username': 'atesteve'}

Message: SERVER-81844 Make ShardServerProcessInterface use shardsvrCreateCollection (#18176)

GitOrigin-RevId: 12563436f1d502e683ce516b0d2b5aaa9ebf0104
Branch: master
https://github.com/mongodb/mongo/commit/4fa66eaa989f7f81c27291ddfcec8b34fd82555c

Generated at Thu Feb 08 06:47:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.