[SERVER-64076] Fix deadlock when waiting for tickets Created: 01/Mar/22  Updated: 29/Oct/23  Resolved: 16/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by SERVER-64466 Store PlusCal model of ticketing syst... Closed
Problem/Incident
causes SERVER-64465 Investigate and improve the negative ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-03-21
Participants:

 Description   

As part of SERVER-63822 it was discussed that we should explore the possibility of doing optimistic concurrency in order to acquire a ticket faster than by locking a mutex.

The end goal is to have the fast path of taking a ticket be as fast as possible.



 Comments   
Comment by Githook User [ 16/Mar/22 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-64076 Fix deadlock when waiting for tickets
Branch: master
https://github.com/mongodb/mongo/commit/6184015b89d61a890d11f682d172c8473b60b513

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