[SERVER-43074] Do not use a global variable to encode 'multikeyPath' information when writing out catalog documents Created: 28/Aug/19 Updated: 29/Oct/23 Resolved: 30/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 3.4.22, 3.6.14, 4.0.12, 4.2.0 |
| Fix Version/s: | 3.6.15, 4.0.13, 3.4.23, 4.2.1, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Daniel Gottlieb (Inactive) |
| 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 | ||||||||||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6, v3.4
|
||||||||||||||||||||||||||||
| Sprint: | Execution Team 2019-09-09 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Linked BF Score: | 55 | ||||||||||||||||||||||||||||
| Description |
|
There is no synchronization to protect this variable from being accessed concurrently, which may cause concurrent writers to write out incorrect "multikeyPath" information to catalog documents. |
| Comments |
| Comment by Geert Bosch [ 03/Sep/19 ] |
|
This would most likely have been caught for years ago if we had been using thread sanitizers... |
| Comment by Githook User [ 30/Aug/19 ] |
|
Author: {'name': 'Daniel Gottlieb', 'username': 'dgottlieb', 'email': 'daniel.gottlieb@mongodb.com'}Message: The method previously relied on catalog level serialization for guaranteeing (cherry picked from commit eb47871d19c81d08827f83df0554ce2c83cd8487) |
| Comment by Githook User [ 30/Aug/19 ] |
|
Author: {'name': 'Daniel Gottlieb', 'username': 'dgottlieb', 'email': 'daniel.gottlieb@mongodb.com'}Message: The method previously relied on catalog level serialization for guaranteeing (cherry picked from commit eb47871d19c81d08827f83df0554ce2c83cd8487) |
| Comment by Githook User [ 30/Aug/19 ] |
|
Author: {'name': 'Daniel Gottlieb', 'username': 'dgottlieb', 'email': 'daniel.gottlieb@mongodb.com'}Message: The method previously relied on catalog level serialization for guaranteeing (cherry picked from commit eb47871d19c81d08827f83df0554ce2c83cd8487) |
| Comment by Githook User [ 30/Aug/19 ] |
|
Author: {'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb', 'username': 'dgottlieb'}Message: The method previously relied on catalog level serialization for guaranteeing (cherry picked from commit eb47871d19c81d08827f83df0554ce2c83cd8487) |
| Comment by Githook User [ 29/Aug/19 ] |
|
Author: {'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb', 'username': 'dgottlieb'}Message: The method previously relied on catalog level serialization for guaranteeing |