[SERVER-78274] SBE should use expanded index pattern for wildcard index Created: 21/Jun/23 Updated: 29/Oct/23 Resolved: 22/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rui Liu | Assignee: | Rui Liu |
| 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.0
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 136 | ||||||||||||||||
| Description |
|
Currently SBE index scan uses key patterns from the index catalog for wildcard index, which may look like "{$**: 1}". However, we should use the expanded index pattern instead generated by the query planner. These two key patterns may differ in length which in turn fails the invariant during index key rehydration. |
| Comments |
| Comment by Githook User [ 23/Jun/23 ] |
|
Author: {'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}Message: (cherry picked from commit c100d3fb3f1825cbfd34ab68577b45c29547fd10) |
| Comment by Githook User [ 23/Jun/23 ] |
|
Author: {'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}Message: |
| Comment by Githook User [ 22/Jun/23 ] |
|
Author: {'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}Message: (cherry picked from commit 5c7694b7afd519eaa01b2f14292d49e90a3a1a58) |
| Comment by Githook User [ 22/Jun/23 ] |
|
Author: {'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}Message: |