[SERVER-81335] Query operations that avoid going through the network when a shard is targeting only itself should create a fresh operation context Created: 22/Sep/23 Updated: 02/Feb/24 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Mihai Andrei |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v7.3
|
||||||||||||||||||||||||||||||||||||||||
| Sprint: | QE 2023-10-02, QE 2023-10-16, QE 2024-02-19 | ||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 160 | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
Trying to keep this ticket generic, although I believe that most of the related issues / BF tickets are related to the optimization performed in Why didn't we see these errors before?
Affected versions The problematic interleaving is the following:
Update
How should we fix it? Another thing we could consider is reverting |
| Comments |
| Comment by Ivan Fefer [ 15/Nov/23 ] |
|
Currently the main way to test this is $lookup. |
| Comment by Githook User [ 27/Sep/23 ] |
|
Author: {'name': 'Ivan Fefer', 'email': 'ivan.fefer@mongodb.com', 'username': 'Fefer-Ivan'}Message: SERVER-81335 Fallback to remote read if local read for sub pipeline fails with IllegalChangeToExpectedShardVersion |
| Comment by Ivan Fefer [ 27/Sep/23 ] |
|
Revert is merged to 7.1 branch: https://github.com/mongodb/mongo/commit/aae297113407b219885bfe44f25a1fb377e04557 The ticket remains open, so we can properly fix this issue in master for the future releases. |
| Comment by Maria Prinus [ 26/Sep/23 ] |
|
What is the actual status of this one? Do you still need to merge the change/revert to the 7.1 branch? |