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

Remove resetting of _docsReturnedByIdLookup

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

      Prior to SERVER-63816, we needed to reset the _docsReturnedByIdLookup metric, in case the $search is part of a $lookup subpipeline since the subpipeline was parsed multiple times. Now the subpipeline is only parsed once, so we don't need to reset that metric. We can remove the function resetDocsReturnedByIdLookup() from SharedSearchState.

      While we're at it, we shouldn't have two separate constructors forĀ 
      DocumentSourceInternalSearchIdLookUp. Instead, we should have one constructor where the limit parameter is set with default value 0.

            Assignee:
            Unassigned Unassigned
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: