[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: |
|
||||||||||||||||
| 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: GitOrigin-RevId: c0f157f71938a9a16410233a0721086f9bd9a924 |
| Comment by Githook User [ 06/Feb/24 ] |
|
Author: {'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}Message: GitOrigin-RevId: 76ffc31436ea6dc3ed16a504621c59434548106c |
| Comment by Githook User [ 29/Jan/24 ] |
|
Author: {'name': 'Will Buerger', 'email': '59492746+wbuerger46@users.noreply.github.com', 'username': 'wbuerger46'}Message: GitOrigin-RevId: e74f473a6787ffce4dc886e2199155e57575cf55 |