[SERVER-70787] Fix race condition in ticketholder_test Created: 24/Oct/22 Updated: 29/Oct/23 Resolved: 24/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Bug | 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: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Execution Team 2022-10-31 | ||||
| Participants: | |||||
| Linked BF Score: | 43 | ||||
| Description |
|
During tests we check that only one thread holds the ticket but then proceed to release all tickets held by threads. This means that after the check if we release the ticket and another thread acquires it immediately afterwards, then we will also release it. |
| Comments |
| Comment by Githook User [ 24/Oct/22 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |