[SERVER-72634] Fix node IDs in generated NodeProps Created: 09/Jan/23 Updated: 29/Oct/23 Resolved: 10/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Davis Haupt (Inactive) | Assignee: | Davis Haupt (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QO 2023-01-23 |
| Participants: |
| Description |
|
Right now, we assign to the node ID in node props twice when generating node props to insert into a map. This means that we're skipping over all even node IDs in generated SBE plans, which can be confusing when reading the plans. Additionally, we don't reset the counter for node IDs in between variations, which means that golden output will change if new variations are added in between two existing ones. |
| Comments |
| Comment by Githook User [ 09/Jan/23 ] |
|
Author: {'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}Message: |