[SERVER-78918] Make `shardCollection` command shard authoritative Created: 13/Jul/23  Updated: 14/Dec/23  Resolved: 22/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Pol Pinol
Resolution: Fixed Votes: 0
Labels: authoritative-create-collection
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-81353 Add a clean up procedure to the creat... Closed
depends on SERVER-81370 Make all InitialSplitPolicy accept a ... Closed
is depended on by SERVER-83386 Enable feature flag for new CreateCol... Open
is depended on by SERVER-80135 Allow ShardCollection to work correct... In Progress
Duplicate
duplicates SERVER-77330 Extend scope of user write blocks whi... Closed
Problem/Incident
causes SERVER-83552 Recreate create collection coordinato... Closed
causes SERVER-83557 Create collection coordinator assume ... Closed
Related
is related to SERVER-83631 Create collection coordinator must ro... Closed
is related to SERVER-83637 Ensure that create collection coordin... Closed
is related to SERVER-79304 Remove Pre 7.3 compatible CreateColle... Backlog
is related to SERVER-83387 Increase test coverage for concurrent... Backlog
is related to SERVER-83388 Increase test coverage for concurrent... Backlog
is related to SERVER-80857 Introduce a new section for the shard... In Code Review
is related to SERVER-79015 Create a feature flag to protect our ... Closed
is related to SERVER-79052 Add a new version of the create colle... Closed
is related to SERVER-79151 Rename legacy CreateCollectionCoordin... Closed
is related to SERVER-79246 Remove config.system.session check Closed
is related to SERVER-79299 Drain 'shardCollections' as part of t... Closed
is related to SERVER-79300 Add precondition checks to createColl... Closed
is related to SERVER-79406 Consider skipping the rest of the cha... Closed
is related to SERVER-79491 Define CreateCollectionCoordinator ph... Closed
is related to SERVER-79829 Potentially change `migration_server_... Closed
is related to SERVER-79963 Make the authoritative shardCollectio... Closed
is related to SERVER-79964 Shards participating in the authorita... Closed
is related to SERVER-79965 Optimise the authoritative shardColle... Closed
is related to SERVER-79966 Enable the testing of the Authoritati... Closed
is related to SERVER-79826 Make create collection coordinator ta... Closed
is related to SERVER-83497 Simplify commit function for the new ... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04, Sharding EMEA 2023-09-18, Sharding EMEA 2023-10-02, CAR Team 2023-11-13, CAR Team 2023-11-27
Participants:
Linked BF Score: 160

 Description   

Currently, the shadCollection command is doing a best effort to inform involved shards about the new collection that they own. The goal of this ticket is to make shardCollection command shard authoritative, in order that, all shard will know about the filtering information that they own before serving any type of operation.

Documentation

Technical Design



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

Author:

{'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}

Message: SERVER-78918 Make `shardCollection` command shard authoritative
Branch: master
https://github.com/mongodb/mongo/commit/7593e97db8929618424cd48b4c720044678a96d4

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