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

move parsing of view pipeline off the hot path of DocSourceIdLookup

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible

      SERVER-92918 will add parsing of a view pipeline to DocumentSourceInternalSearchIdLookup::doGetNext() - this is unideal because it is on the hot path (during query execution).

       

      We will want to instead parse the view pipeline and hold onto it during DocSourceIdLookup construction. Then in doGetNext, we will want to clone the viewPipeline when we call append()

            Assignee:
            erin.zhu@mongodb.com Erin Zhu
            Reporter:
            maddie.zechar@mongodb.com Maddie Zechar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: