[SERVER-77555] Fix collmod deadlock with stepdowns Created: 30/May/23  Updated: 29/Oct/23  Resolved: 31/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc5

Type: Bug Priority: Major - P3
Reporter: Silvia Surroca Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-76050 Enhance session handling in each coor... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-06-12
Participants:
Linked BF Score: 135

 Description   

The `collmod` coordinator may get hung when contacts the config server here due to a deadlock between the stepdown thread and the `_configsvrCollMod` thread competing for the RSTL lock.



 Comments   
Comment by Githook User [ 19/Jun/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-77555 Fix collmod deadlock with stepdowns

(cherry picked from commit 7dd5219cfa7997c9a85f6741997ebf27a3a56399)
Branch: v7.0
https://github.com/mongodb/mongo/commit/1b2e3cdf8e2db3fe4f839eafdca0df870b6fa487

Comment by Githook User [ 31/May/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-77555 Fix collmod deadlock with stepdowns
Branch: master
https://github.com/mongodb/mongo/commit/7dd5219cfa7997c9a85f6741997ebf27a3a56399

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