[SERVER-83637] Ensure that create collection coordinator does not create a collection in non involved shards Created: 28/Nov/23  Updated: 15/Jan/24  Resolved: 15/Jan/24

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

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

Issue Links:
Depends
depends on SERVER-83497 Simplify commit function for the new ... Closed
is depended on by SERVER-83386 Enable feature flag for new CreateCol... Open
is depended on by SERVER-80857 Introduce a new section for the shard... In Code Review
Related
related to SERVER-78918 Make `shardCollection` command shard ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: CAR Team 2023-12-11, CAR Team 2023-12-25, CAR Team 2024-01-08, CAR Team 2024-01-22
Participants:

 Description   

There are cases where the create collection coordinator creates the collection in a shard, and then, due to retriable errors or rollback, that creation becomes unnecessary. The create collection coordinator is today no responsible to clean that.

The goal of this ticket is to never exit the coordinator without being sure that:

  • In case of succeed, the collection is only created on places where it should be.
  • In case of rollback, no collection (created by the coordinator) exists in any shard.


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

Author:

{'name': 'Pol PiƱol Castuera', 'email': '67922619+PolPinol@users.noreply.github.com', 'username': 'PolPinol'}

Message: SERVER-83637 Ensure that create collection coordinator does not create a collection in non involved shards (#17823)

GitOrigin-RevId: 191b6060245b2b92644abb4db23d088d90a4f1ec
Branch: master
https://github.com/mongodb/mongo/commit/e63bc9f8eb65bfc8a0ed82dc932e5f22e97a6876

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