[SERVER-57039] Legacy-path DDL operations are not interrupted on stepdown Created: 18/May/21  Updated: 29/Oct/23  Resolved: 19/May/21

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

Type: Bug Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Jordi Serra Torrens
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-05-31
Participants:
Linked BF Score: 165

 Description   

The opCtx under which legacy-path DDL operations run is not getting interrupted on stepdown. Then, because the new shard primary is able to acquire the distlocks, there could be a split-brain scenario where both nodes are executing DDL operations on the same ns.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 20/May/21 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-57039 Legacy-path DDL operations are not interrupted on stepdown

(cherry picked from commit eb4e1c293ebaf9815983197f871533c3e6a23aec)
Branch: v5.0
https://github.com/mongodb/mongo/commit/20bec25e0fa8c2faa867d5bef1adbe4b6170b082

Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-57039 Legacy-path DDL operations are not interrupted on stepdown
Branch: master
https://github.com/mongodb/mongo/commit/eb4e1c293ebaf9815983197f871533c3e6a23aec

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