[SERVER-82328] Concurrent access to MovePrimaryCoordinatorDocument without acquiring mutex Created: 19/Oct/23 Updated: 13/Nov/23 Resolved: 13/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.2.0-rc0, 6.0.11, 7.1.0-rc4, 7.0.3 |
| Fix Version/s: | 7.1.1, 7.2.0-rc0, 7.0.4, 7.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aitor Esteve Alvarado | Assignee: | Aitor Esteve Alvarado |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.2
|
||||||||
| Sprint: | Sharding EMEA 2023-10-30, CAR Team 2023-11-13, CAR Team 2023-11-27 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 104 | ||||||||
| Description |
|
An unprotected read access in MovePrimaryCoordinator::checkIfOptionsConflict can be concurrent to write accesses in the DDL coordinator, like here. |
| Comments |
| Comment by Aitor Esteve Alvarado [ 13/Nov/23 ] |
|
britt.snyman@mongodb.com My bad, the change made it to 7.2, but I didn't close this ticket. Closing now. |
| Comment by Githook User [ 07/Nov/23 ] |
|
Author: {'name': 'Aitor Esteve Alvarado', 'email': 'aitor.esteve@mongodb.com', 'username': 'atesteve'}Message: (cherry picked from commit 669a23f588ed95250b006c57fd374d0effb7b0bc) |
| Comment by Githook User [ 07/Nov/23 ] |
|
Author: {'name': 'Aitor Esteve Alvarado', 'email': 'aitor.esteve@mongodb.com', 'username': 'atesteve'}Message: (cherry picked from commit 669a23f588ed95250b006c57fd374d0effb7b0bc) |
| Comment by Githook User [ 06/Nov/23 ] |
|
Author: {'name': 'Aitor Esteve Alvarado', 'email': 'aitor.esteve@mongodb.com', 'username': 'atesteve'}Message: |