[SERVER-61396] Fix data race in ConnectionThread and SessionThread in transport_layer_asio_test Created: 10/Nov/21 Updated: 29/Oct/23 Resolved: 11/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Saltz (Inactive) | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | servicearch-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Service Arch 2021-11-15, Service Arch 2021-11-22 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 151 | ||||||||
| Story Points: | 2 | ||||||||
| Description |
|
ConnectionThread::_run can be called before the ConnectionThread object has finished being constructed, so then when it accesses _s, _s is sometimes not fully constructed. The same is true in the SessionThread class |
| Comments |
| Comment by Billy Donahue [ 11/Nov/21 ] |
|
Fixed by |
| Comment by Billy Donahue [ 10/Nov/21 ] |
|
Will be fixed as a bit of a pork barrel with |