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.
- related to
-
SERVER-85735 Make ExternalDataSourceScopeGuard a unique_ptr rather than shared_ptr
- Backlog