[SERVER-80886] $out may fail with a StaleDbVersion after a movePrimary Created: 08/Sep/23 Updated: 29/Dec/23 Resolved: 03/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.0.1, 4.4.24, 6.0.10, 5.0.21, 7.1.0-rc2 |
| Fix Version/s: | 7.1.1, 7.2.0-rc0, 7.0.3, 6.0.12, 5.0.24, 4.4.28 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Silvia Surroca | Assignee: | Jordi Serra Torrens |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | shardingemea-qw | ||
| 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.1, v7.0, v6.0, v5.0, v4.4
|
||||
| Sprint: | Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16 | ||||
| Participants: | |||||
| Story Points: | 3 | ||||
| Description |
|
If $out runs over a sharded collection after a movePrimary operation, $out will fail constantly with a StaleDbVersion until another operation refreshes the DbVersion on the new primary shard. Events sequence leading to the bug:
|
| Comments |
| Comment by Githook User [ 29/Dec/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit 060c42eccc4006a96db28f0b498ce9920e718783) GitOrigin-RevId: 1df48bc5aae460ca39c107463f9a3edbcd3e4d20 |
| Comment by Githook User [ 29/Dec/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordist@users.noreply.github.com', 'username': 'jordist'}Message: GitOrigin-RevId: 060c42eccc4006a96db28f0b498ce9920e718783 |
| Comment by Githook User [ 19/Oct/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit fff4dbf400d1f85e47fe84b21c668d4d26570f3a) |
| Comment by Githook User [ 19/Oct/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit fff4dbf400d1f85e47fe84b21c668d4d26570f3a) |
| Comment by Githook User [ 19/Oct/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: (cherry picked from commit fff4dbf400d1f85e47fe84b21c668d4d26570f3a) |
| Comment by Githook User [ 03/Oct/23 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: |