[SERVER-46106] Keep read-modify accesses to NetworkInterfaceMock::_alarms in one CS Created: 12/Feb/20 Updated: 29/Oct/23 Resolved: 12/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| 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 | ||||
| Steps To Reproduce: | Due to the nature of the bug, it's very hard to reproduce it. An example could be found here: #BF-15258 |
||||
| Sprint: | Service Arch 2020-02-24 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
Both getting the top of `_alarms` and removing it must be in the same critical-section to avoid potential data races. |
| Comments |
| Comment by Githook User [ 12/Feb/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@10gen.com'}Message: |