[SERVER-65376] sbe_cmd.js returns error "undefined slot accessor:6" Created: 08/Apr/22 Updated: 29/Oct/23 Resolved: 11/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | Backlog |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Anton Korshunov | Assignee: | Denis Grebennicov |
| 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 | ||||||||
| Sprint: | QO 2022-04-18 | ||||||||
| Participants: | |||||||||
| Description |
|
`SBECommand` doesn't support auto-parameterised queries, as while parsing an existing sbe plan (provided as part of the cmd), it doesn't preserve the previous slot ids, provided in the sbe plan, therefore making auto-parameterisation error-prone. The proposed fix would be to run only non auto-parameterised queries as part of this test. |
| Comments |
| Comment by David Storch [ 15/Apr/22 ] |
|
anton.korshunov@mongodb.com I filed |
| Comment by David Storch [ 12/Apr/22 ] |
|
anton.korshunov@mongodb.com I feel like we have left the "sbe" command in a bad state. If we're going to have the sbe command at all, then it should actually work for simple predicates such as comparisons which we usually auto-parameterize. I think we should do something about this, but I'm open to several alternatives:
In a meeting recently you expressed support for option #1, is that correct? I'm fine with option 1. Who do we need to convince to make this change, just Martin? |
| Comment by Githook User [ 11/Apr/22 ] |
|
Author: {'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}Message: |