[SERVER-73822] Time-series $group rewrite ignores certain accumulators Created: 09/Feb/23 Updated: 29/Oct/23 Resolved: 14/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 6.3.0-rc0, 6.2.0-rc6 |
| Fix Version/s: | 7.0.0-rc0, 6.2.1, 6.3.0-rc1, 5.0.16, 6.0.6 |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Arun Banala | Assignee: | Kevin Cherkauer |
| 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: |
v6.3, v6.2, v6.0, v5.0
|
||||||||||||||||
| Sprint: | QE 2023-02-20 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 135 | ||||||||||||||||
| Description |
|
The $group min-max rewrite logic is missing an else clause to fail the re-write when there is a non-constant expression. |
| Comments |
| Comment by Githook User [ 17/Mar/23 ] |
|
Author: {'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}Message: |
| Comment by Githook User [ 15/Mar/23 ] |
|
Author: {'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}Message: |
| Comment by Githook User [ 13/Feb/23 ] |
|
Author: {'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}Message: (cherry picked from commit f9fd648140b48de6af36f1b96bd66b5b54d5deb7) |
| Comment by Arun Banala [ 13/Feb/23 ] |
|
james.wahlin@mongodb.com Yes! I ran a patch build on 6.2 and ready to merge it in. I'll work with james.hippler@mongodb.com when he is online as 6.2 branch is frozen right now. |
| Comment by Githook User [ 13/Feb/23 ] |
|
Author: {'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}Message: (cherry picked from commit f9fd648140b48de6af36f1b96bd66b5b54d5deb7) |
| Comment by Githook User [ 11/Feb/23 ] |
|
Author: {'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}Message: |