[SERVER-85583] Running an aggregate on a view may throw IllegalChangeToExpectedDatabaseVersion Created: 23/Jan/24 Updated: 31/Jan/24 Resolved: 31/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.3.0-rc1 |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Silvia Surroca | Assignee: | Jordi Serra Torrens |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v7.3
|
||||||||||||||||
| Sprint: | CAR Team 2024-02-05 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 134 | ||||||||||||||||
| Description |
|
We can get an IllegalChangeToExpectedDatabaseVersion error when we create a ScopedSetShardRole under runAggregateOnView() if the view dbVersion mismatches with the dbVersion of its linked collection. For instance, this could happen if there is a movePrimary running concurrently. |
| Comments |
| Comment by Githook User [ 31/Jan/24 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: GitOrigin-RevId: 3477a0bc3a282b365196ee6f4dd40c0e59141422 |