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

Update pipelines should not create a service context

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.12
    • None
    • Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2019-05-20

    Description

      By calling DocumentSourceMock::create() from the update pipeline executor, an ExpressionContextForTest is created, which creates a full service context. This code should use a different constructor for DocumentSourceMock.

      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: