[SERVER-39523] Inputs containing nested documents cause assertion error in stitch_projection_create Created: 12/Feb/19  Updated: 29/Oct/23  Resolved: 01/Mar/19

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Bug Priority: Major - P3
Reporter: Michael O'Brien Assignee: Jacob Evans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Hitting an error calling the stitch matcher library:
Invariant failure Hit a MONGO_UNREACHABLE! src/mongo/db/exec/projection_exec.cpp 127

This seems to happen for any input to `stitch_support_v1_projection_create` where the `spec` argument is a doc that contains an embedded doc, e.g.

{ a: { b : 0 } }

 



 Comments   
Comment by Githook User [ 01/Mar/19 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-39523 Run validity checking before allowing Stitch lib projection
Branch: master
https://github.com/mongodb/mongo/commit/1468df1a91debac9edf0bb5092f02c48511ddf78

Generated at Thu Feb 08 04:52:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.