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

Update pipelines should not create a service context

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.12
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query 2019-05-20

      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.

            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: