ExternalDataSourceScopeGuard should not be compatible with multiple plan executors

XMLWordPrintableJSON

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

      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
              Reporter:
              Will Buerger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: