[SERVER-58143] shardsvrDropCollectionParticipant should be killable on stepdown Created: 29/Jun/21  Updated: 29/Oct/23  Resolved: 06/Jul/21

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

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

Issue Links:
Backports
Depends
is depended on by SERVER-57756 Race between concurrent stepdowns and... Closed
Related
is related to SERVER-70127 Default system operations to be killa... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Participants:

 Description   

After SERVER-56648, _shardsvrDropCollectionParticipant is ran in a session. Since _shardsvrDropCollectionParticipant is not marked as killable by stepdown, this can cause a deadlock on the RSTL lock.
_shardsvrDropCollectionParticipant should be marked as killable on stepdown.



 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 [ 21/Jul/21 ]

Author:

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

Message: SERVER-58143 shardsvrDropCollectionParticipant should be killable on stepdown

(cherry picked from commit 4e2b70cd68a312b6fc059690b1720f3416af2d1c)
Branch: v5.0
https://github.com/mongodb/mongo/commit/5c4263ae7629a70e8a00c1197bf0cb3b844a2bad

Comment by Wenbin Zhu [ 20/Jul/21 ]

Hi jordi.serra-torrens, I'm trying to backport SERVER-57756 to 5.0, which depends on the backport of this ticket, could you help backporting this one? Thanks!

Comment by Githook User [ 06/Jul/21 ]

Author:

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

Message: SERVER-58143 shardsvrDropCollectionParticipant should be killable on stepdown
Branch: master
https://github.com/mongodb/mongo/commit/4e2b70cd68a312b6fc059690b1720f3416af2d1c

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