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

ExternalDataSourceScopeGuard should not be compatible with multiple plan executors

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.6, 8.0.0-rc0, 7.3.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Minor Change
    • ALL
    • v7.3, v7.0
    • QI 2024-01-22, QI 2024-02-05
    • 33

      Right now, in the context of queries with multiple plan executors, we allocate an ExternalDataSourceScopeGuard to be shared amongst all the cursors opened (one per executor). This is causing a data race caught in BF-31406. We should disallow using external data sources when we have multiple plan executors.

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

              Created:
              Updated:
              Resolved: