[SERVER-60755] We don't add documents to the graphLookup cache if the matched field is missing Created: 15/Oct/21 Updated: 29/Oct/23 Resolved: 21/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.1.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ted Tuckman | Assignee: | Ted Tuckman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v5.1, v5.0
|
||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 200 | ||||||||||||||||||||||||||||||||
| Description |
|
See linked BF for example/details. This callback function is responsible for adding seen documents to the cache, but the helper doesn't execute the callback if the value is missing. |
| Comments |
| Comment by Githook User [ 21/Oct/21 ] |
|
Author: {'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}Message: (cherry-picked from commit 4f5e64a4f2fbac9b12a24b26dddb6b772fd21e37) |
| Comment by Ted Tuckman [ 21/Oct/21 ] |
|
This changes the results of the first document returned for a $graphLookup if matching on null/missing/undefined. |
| Comment by Githook User [ 21/Oct/21 ] |
|
Author: {'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}Message: |