[SERVER-78851] movePrimary may fail on clone phase if $out runs concurrently Created: 11/Jul/23 Updated: 29/Oct/23 Resolved: 28/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.0.1, 7.1.0-rc4 |
| Fix Version/s: | 7.1.1, 7.2.0-rc0, 7.0.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Silvia Surroca | Assignee: | Silvia Surroca |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v7.1, v7.0
|
||||||||||||
| Sprint: | Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04, Sharding EMEA 2023-09-18, Sharding EMEA 2023-10-02 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
movePrimary may fail on the clone phase with error 7118501 when $out is executed at the same time.
The sequence of events to end up with the mentioned error is:
|
| Comments |
| Comment by Githook User [ 17/Oct/23 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: (cherry picked from commit a95a5b2ee3108d4c02bb9fcfd6749495d4df248b) |
| Comment by Githook User [ 09/Oct/23 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: |
| Comment by Githook User [ 28/Sep/23 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: |
| Comment by Silvia Surroca [ 20/Jul/23 ] |
|
I've attached a reproducible test. It needs to update a fail point placement, so you will need to recompile the code to be able to reproduce the issue. |