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

Investigate removing StubMongoProcessInterface from production use

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      We check if the mongoProcessInterface that we are dealing with is a StubMongoProcessInterface in a couple of spots for $search/$vectorSearch (example: https://github.com/10gen/mongo-enterprise-modules/blob/22813e8d3255d865dafb7b79d75800465da20c1c/src/search/mongot_cursor.h#L80). This may be the case when parsing the pipeline for QE, pipeline-style updates, and views (at a minimum). We should try to detect these cases other ways so we don't have to check the implementation type.

      This check didn't end up being feasible to change. We need to investigate how to get rid of StubMongoProcessInterface from being used in production in the first place.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            alyssa.clark@mongodb.com Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: