[SERVER-55277] Deadlock between _createOplogBuffer and stepDown Created: 17/Mar/21  Updated: 29/Oct/23  Resolved: 18/Mar/21

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

Type: Bug Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: pm-1791_other_required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2021-03-22
Participants:

 Description   

We shouldn't be holding the mutex while getting the global lock. Doing so will deadlock with stepDown, similar to SERVER-53996



 Comments   
Comment by Githook User [ 18/Mar/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-55277 Prevent deadlock between _createOplogBuffer and stepDown
Branch: master
https://github.com/mongodb/mongo/commit/2a19952b4522489d35e4931eb10c5e74a8bd2bc2

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