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

Pipeline based update invariant failure

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • 4.5.1
    • Querying
    • Fully Compatible
    • ALL
    • Query 2020-05-18, Query 2020-06-01
    • 5

    Description

      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().

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: