[SERVER-84130] Incorrect bucket-level filter optimization when some events in the bucket are missing the field Created: 13/Dec/23 Updated: 24/Jan/24 Resolved: 12/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.1, 7.3.0-rc0, 6.0.13, 7.0.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Irina Yatsenko (Inactive) | Assignee: | Irina Yatsenko (Inactive) |
| 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: |
v7.2, v7.0, v6.0
|
||||||||
| Sprint: | QI 2023-12-25, QI 2024-01-08 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 135 | ||||||||
| Description |
The bucket-level filter is
The problem is repro with other types, not just dates and strings, as long as the original expression in the filter isn't type-bracketing (such as comparisons inside $expr). |
| Comments |
| Comment by Irina Yatsenko (Inactive) [ 12/Jan/24 ] |
|
I was mistaken to think that an update to etc/backports_required_for_multiversion_tests.yml is necessary. |
| Comment by Githook User [ 12/Jan/24 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': '36858951+IrinaYatsenko@users.noreply.github.com', 'username': 'IrinaYatsenko'}Message: (cherry picked from commit eb7ce93bd252534d949f8f21716c0b3b9b0e0e0c) |
| Comment by Githook User [ 28/Dec/23 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}Message: GitOrigin-RevId: 62a527d28f70e01abbbea490ecea6c5155a6cbe5 |
| Comment by Githook User [ 28/Dec/23 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': '36858951+IrinaYatsenko@users.noreply.github.com', 'username': 'IrinaYatsenko'}Message: (cherry picked from commit eb7ce93bd252534d949f8f21716c0b3b9b0e0e0c) GitOrigin-RevId: aff287699769336c780e1b4743539718fb2f62ef |
| Comment by Githook User [ 19/Dec/23 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': '36858951+IrinaYatsenko@users.noreply.github.com', 'username': 'IrinaYatsenko'}Message: GitOrigin-RevId: eb7ce93bd252534d949f8f21716c0b3b9b0e0e0c |