[SERVER-61839] $elemMatch w/ positional $ project SBE bug Created: 01/Dec/21 Updated: 29/Oct/23 Resolved: 10/Dec/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.2.0, 5.1.0 |
| Fix Version/s: | 5.3.0, 5.1.2, 5.2.0-rc1 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | James Wahlin | Assignee: | Drew Paroski |
| 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: |
v5.2
|
||||||||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||||||||
| Sprint: | QE 2021-12-13 | ||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||
| Description |
|
In the above reproduction, the asserts pass with SBE disabled. The first assert in firstBatch.length fails when SBE is enabled. |
| Comments |
| Comment by Githook User [ 14/Dec/21 ] |
|
Author: {'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}Message: (cherry picked from commit 8d4e810c89b771ded201390990a527a9a8799d2f) |
| Comment by Githook User [ 10/Dec/21 ] |
|
Author: {'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}Message: (cherry picked from commit 8d4e810c89b771ded201390990a527a9a8799d2f) |
| Comment by Githook User [ 10/Dec/21 ] |
|
Author: {'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}Message: |
| Comment by James Wahlin [ 02/Dec/21 ] |
|
I posted a simplified reproduction to this ticket. Worth noting is both the positional projection and the $exists clause were needed to repro. |