[SERVER-25493] Remove $exists clause once master is no longer cross-compatible with MongoDB versions <= 3.2 Created: 08/Aug/16  Updated: 06/Dec/22

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

Type: Task Priority: Major - P3
Reporter: James Wahlin Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: open_todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-24506 Support views in cloner & DataReplica... Closed
Assigned Teams:
Query Execution
Participants:

 Description   

Under SERVER-24506 we are introducing a ListCollectionFilter class, used to request only views or collections from the listCollections command. For backward compatibility with MongoDB 3.2 and older, the collection filter is specified as:

{$or: [{type: "collection"},{type: {$exists: false}}]}

Once master is no longer cross-compatible with versions of MongoDB 3.2 or under are no longer supported, this can be simplified to:

{type: "collection"}


Generated at Thu Feb 08 04:09:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.