[SERVER-51454] operationProfiling.filter config option rejects agg expressions Created: 09/Oct/20 Updated: 29/Oct/23 Resolved: 20/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0, 4.4.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Percy | Assignee: | David Percy |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v4.8, v4.7, v4.4
|
||||||||||||||||
| Sprint: | Query 2020-10-19, Query 2020-11-02 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
For example, this mongod.conf fails to parse:
"Failed to parse option operationProfiling.filter: Unrecognized expression '$lt'" But it's a valid filter, and the profile command accepts it. It looks like we are parsing this option before the map of aggregation expression parsers is populated. |
| Comments |
| Comment by Githook User [ 20/Nov/20 ] |
|
Author: {'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}Message: |
| Comment by Githook User [ 20/Oct/20 ] |
|
Author: {'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}Message: |