[SERVER-85453] ExternalDataSourceScopeGuard should not be compatible with multiple plan executors Created: 19/Jan/24  Updated: 07/Feb/24  Resolved: 29/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.6, 8.0.0-rc0, 7.3.0-rc2

Type: Bug Priority: Major - P3
Reporter: Will Buerger Assignee: Will Buerger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-85735 Make ExternalDataSourceScopeGuard a u... Needs Scheduling
Backwards Compatibility: Minor Change
Operating System: ALL
Backport Requested:
v7.3, v7.0
Sprint: QI 2024-01-22, QI 2024-02-05
Participants:
Linked BF Score: 33

 Description   

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.



 Comments   
Comment by Githook User [ 07/Feb/24 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-85453: Make ExternalDataSourceScopeGuard only compatible with one plan executor

GitOrigin-RevId: c0f157f71938a9a16410233a0721086f9bd9a924
Branch: v7.0
https://github.com/mongodb/mongo/commit/988915568758fcb6c426b1ef804c18c1c0e966dd

Comment by Githook User [ 06/Feb/24 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-85453: Make ExternalDataSourceScopeGuard only compatible with one plan executor

GitOrigin-RevId: 76ffc31436ea6dc3ed16a504621c59434548106c
Branch: v7.3
https://github.com/mongodb/mongo/commit/ca28a130ba19670d0622b965152b21372a79af9e

Comment by Githook User [ 29/Jan/24 ]

Author:

{'name': 'Will Buerger', 'email': '59492746+wbuerger46@users.noreply.github.com', 'username': 'wbuerger46'}

Message: SERVER-85453: Make ExternalDataSourceScopeGuard only compatible with one plan executor (#18238)

GitOrigin-RevId: e74f473a6787ffce4dc886e2199155e57575cf55
Branch: master
https://github.com/mongodb/mongo/commit/21c3d81f46d4346d30f833b5a4bbb617cf647738

Generated at Thu Feb 08 06:57:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.