[SERVER-49717] Improve resiliency of ServiceExecutorFixed::Stats unittest Created: 17/Jul/20 Updated: 29/Oct/23 Resolved: 22/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Amirsaman Memaripour | Assignee: | Amirsaman Memaripour |
| 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: | Service Arch 2020-07-27 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
Condition variables may miss a notification, and this could cause an indefinite wait in the Stats test under ServiceExecutorFixed unit-tests. A possible fix is using a more strong ordering mechanism for accesses to the shared variable that stores the number of active executor threads. |
| Comments |
| Comment by Githook User [ 22/Jul/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |