[SERVER-84757] Prevent sorting elements in a $in expression during auto-parameterization Created: 11/Jan/24 Updated: 19/Jan/24 Resolved: 19/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ruoxin Xu | Assignee: | Ruoxin Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Participants: | |||||
| Linked BF Score: | 135 | ||||
| Description |
|
We can use InListData::hasSingleElement() during auto-parameterization rather than getElements() that would sort all the elements in a $in expression. |
| Comments |
| Comment by Githook User [ 18/Jan/24 ] |
|
Author: {'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}Message: GitOrigin-RevId: 879f61be945a694ca03fb42c0bcead066800e722 |