[SERVER-81189] Transform `create` requests in sharded cluster to `_shardSvrCreateCollection` Created: 19/Sep/23  Updated: 13/Nov/23  Resolved: 10/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Enrico Golfieri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-81188 Embed `createCollection` in sharding ... Closed
is depended on by SERVER-79159 Track unsharded collections on upgrade Open
is depended on by SERVER-81190 Support tracking "simple" unsharded c... Closed
Problem/Incident
causes SERVER-82282 Refactor isTransactionCommand in tran... Backlog
Related
is related to SERVER-81844 Make ShardServerProcessInterface::cre... Closed
is related to SERVER-82804 Add the ability to create <db>.system... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16, Sharding EMEA 2023-10-30, CAR Team 2023-11-13
Participants:

 Description   

After the completion of SERVER-81188 , instead of forwarding a create command from the router to the shard, start sending _shardSvrCreateCollection commands with unsplittable: true.

This is a step towards having a unique code path for creating/sharding a collection.



 Comments   
Comment by Githook User [ 07/Nov/23 ]

Author:

{'name': 'egol', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-81189 Transform the `create` requests in sharded cluster to `_shardSvrCreateCollection`
Branch: master
https://github.com/mongodb/mongo/commit/a87a83cdd69ed6dc3c51c1c7fe607beada1b0663

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