[SERVER-66489] Fix race condition in FifoBasicMetrics test Created: 16/May/22 Updated: 29/Oct/23 Resolved: 18/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc8, 6.1.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 | ||||||||
| Backport Requested: |
v6.0
|
||||||||
| Sprint: | Execution Team 2022-05-30 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 45 | ||||||||
| Description |
|
As part of the test we first wait until there's an item enqueued in the ticketholder. The problem is that optimistically the wait acquires a ticket then releases it if it shouldn't have done that. This leads to a small window where the metrics indicate 2 tickets are in use when in reality only 1 is in use. |
| Comments |
| Comment by Githook User [ 31/May/22 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: (cherry picked from commit c9c71fa2a7c872a2c146b62cb9e94e93e7e8bed9) |
| Comment by Githook User [ 18/May/22 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |