[SERVER-31365] Reject $jsonSchema within a $pull operator Created: 03/Oct/17  Updated: 06/Dec/22  Resolved: 04/Oct/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: Needs Triage
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Backlog - Query Team (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-30731 Add $expr support in MatchExpression ... Closed
Assigned Teams:
Query
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Comments   
Comment by David Storch [ 04/Oct/17 ]

tess.avitabile, yeah that sounds right to me. There's also the work on banning $isolated in the right places SERVER-17846, but seems like a separate effort given that $isolated is not new in 3.6.

Comment by Tess Avitabile (Inactive) [ 04/Oct/17 ]

Ah yes, I see that you commented this in the CR for SERVER-30731. I will handle banning $jsonSchema from $elemMatch projection there as well. So after SERVER-30731, the only remaining work on banning query features will be SERVER-31346.

Comment by Tess Avitabile (Inactive) [ 04/Oct/17 ]

Easy enough. That patch will also ban $jsonSchema from arrayFilters. Should it also ban $jsonSchema from $elemMatch projection?

Comment by David Storch [ 04/Oct/17 ]

We may end up handling this in SERVER-30731.

CC tess.avitabile

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