[SERVER-53905] Implement PrimaryOnlyService for DDL coordinators Created: 20/Jan/21  Updated: 29/Oct/23  Resolved: 25/Feb/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-43892 ShardedClusterFixture always starts ... Closed
depends on SERVER-52809 Implement the new drop collection pat... Closed
depends on SERVER-54077 Introduce ForwardableOperationMetadat... Closed
is depended on by SERVER-54587 Make create collection resilient to s... Closed
is depended on by SERVER-54605 Make rename collection coordinator re... Closed
is depended on by SERVER-54696 Serialize DDL operations on step-up Closed
is depended on by SERVER-54944 Make drop collection resilient to ste... Closed
is depended on by SERVER-54946 Make rename collection resilient to s... Closed
is depended on by SERVER-55387 Expose completion future in ShardingD... Closed
Duplicate
is duplicated by SERVER-51755 Introduce a sharding serializer for c... Closed
is duplicated by SERVER-52755 Introduce a sharding serializer for d... Closed
Related
related to SERVER-54798 Complete TODO listed in SERVER-53905 Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-02-22, Sharding 2021-03-08
Participants:

 Description   

The new drop collection procedure for sharded cluster (introduced in SERVER-52809) is not resilient yet to shutdown of the coordinator shard. This ticket is to implement the coordinator as a PrimaryOnlyService to add such resiliency. 



 Comments   
Comment by Githook User [ 24/Feb/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-53905 Implement PrimaryOnlyService for DDL coordinators
Branch: master
https://github.com/mongodb/mongo/commit/5f06484704079c88b81d7ec6ba9a223c651b1a2e

Comment by Tommaso Tocci [ 15/Feb/21 ]

This code relies on the POS that is not working on standalone shard. So we need first to do SERVER-43892

Generated at Thu Feb 08 05:32:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.