[SERVER-68535] ExpressionFromRankAccumulator::parse uassert always says (None) for accumulator name Created: 03/Aug/22 Updated: 29/Oct/23 Resolved: 05/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Gregory Noma | Assignee: | Erin Zhu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | QI 2023-09-04, QI 2023-09-18 |
| Participants: |
| Description |
|
uassert 5371603 in ExpressionFromRankAccumulator::parse uses accumulatorName as a part of the error message, but accumulatorName is not set until the following line. This causes the message to always say that the accumulator name is "(None)". We can either use argName in the error message or swap the order of these two lines. |
| Comments |
| Comment by Githook User [ 29/Aug/23 ] |
|
Author: {'name': 'Erin Zhu', 'email': 'erin.zhu@mongodb.com', 'username': 'erinzhu001'}Message: |