Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39523

Inputs containing nested documents cause assertion error in stitch_projection_create

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL

      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 } }

       

            Assignee:
            jacob.evans@mongodb.com Jacob Evans
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: