[SERVER-84046] Query Settings should forbid setting empty 'allowedIndexes' Created: 11/Dec/23  Updated: 06/Feb/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Catalin Sumanaru Assignee: Serhii Lysenko
Resolution: Unresolved Votes: 0
Labels: M3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: QE 2024-02-19
Participants:

 Description   

Currently it's legal for a user to specify an empty list as the allowed indexes. As opposed to index filters, query settings consider `$natural` as an index, and leaving this out forbids collection scans outright. 

As there are no real use-cases for setting an empty allowed indexes list, and this just causes additional re-planning it's been decided to validate against this.


Generated at Thu Feb 08 06:53:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.