[SERVER-81601] Apply QuerySettings for queries involving views Created: 30/Sep/23 Updated: 01/Feb/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Denis Grebennicov | Assignee: | Denis Grebennicov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | M2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Execution
|
| Participants: |
| Description |
|
Find and Distinct commands may be called on views, where the commands are translated into Aggregation commands, as well as aggregate commands can also involve views. Query settings needs to be applied to this sort of queries. As part of this patch we need to remove "Index hint namespace refer to the collection namespaces involved in the query" validation rule, since it no longer makes sense when processing queries on views |