[SERVER-82407] setIsSubset semantics differ in Classic and SBE Created: 24/Oct/23 Updated: 26/Oct/23 Resolved: 26/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Foteini Alvanaki | Assignee: | Foteini Alvanaki |
| 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 | ||||||||
| Steps To Reproduce: | Create the collection
Query the collection in SBE and in Classic
SBE returns
while classic returns
|
||||||||
| Sprint: | QE 2023-10-30 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 125 | ||||||||
| Description |
|
setIsSubset expects two arrays as inputs. Classic throws an error if one of the arrays is missing. SBE checks the types before calling setIsSubset and returns null if one of them is missing. This different is causing a failure in fuzzer tests. |
| Comments |
| Comment by Foteini Alvanaki [ 25/Oct/23 ] |
|
Code review: https://github.com/10gen/jstestfuzz/pull/872 |