[SERVER-71561] Data race in exhaust_cursor_currentop_integration_test.cpp Created: 22/Nov/22 Updated: 29/Oct/23 Resolved: 28/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Romans Kasperovics | Assignee: | Romans Kasperovics |
| 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: | QE 2022-11-28, QE 2022-12-12 | ||||
| Participants: | |||||
| Linked BF Score: | 5 | ||||
| Description |
|
A DBClientCursor instance is shared between the main and stdx::async threads. The problem can be easily resolved, because the main thread only needs to access cursorId, which can be copied. |
| Comments |
| Comment by Githook User [ 26/Nov/22 ] |
|
Author: {'name': 'Romans Kasperovics', 'email': 'romans.kasperovics@mongodb.com', 'username': 'romanskas'}Message: |