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

Pipeline based update invariant failure

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: 4.5.1
    • Component/s: Querying
    • Labels:
    • Fully Compatible
    • ALL
    • Query 2020-05-18, Query 2020-06-01
    • 5

      We don't set the 'explain' flag on the ExpressionContext when creating a ParsedUpdate. This means that the DocumentSources used in a pipeline update are parsed with the explain flag set to false, even if the query is an explain. This causes the DocumentSource to be initialized incorrectly and triggers an invariant in getNext().

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: