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

$_internalSearchMongotRemote should manage lifetime of _mergingPipeline

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

      This came out of investigating AF-1087 and SERVER-100510  which manifests on 7.0 as an invalid opCtx issue due to _mergingPipeline not being managed by $_internalSearchMongotRemote. The same bug on 7.0 doesn't exist on master because $search has been refactored, but it would be safer for this change to be made to avoid potential issues in the future.  _mergingPipeline is on $_internalSearchMongotRemote, so $_internalSearchMongotRemote should manage the lifetime of _mergingPipeline instead of _mergingPipeline disposing itself. 

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

              Created:
              Updated:
              None
              None
              None
              None