[SERVER-77130] Fix data races when writing to collection instances in commit handlers Created: 15/May/23 Updated: 04/Jul/23 Resolved: 04/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | techdebt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Execution Team 2023-05-29, Execution Team 2023-06-12, Execution NAMR Team 2023-06-26, Execution NAMR Team 2023-07-10 | ||||||||
| Participants: | |||||||||
| Description |
|
Investigate which commit handlers write to collection or index catalog entry instances. Such writes are not safe without some form of synchronization as collection instances being written by DDL operation can be returned to threads doing reads after the DDL operation is committed to the storage engine but before the commit handlers have run. |