[SERVER-59924] Error executing aggregate with $out with "available" read concern on sharded clusters Created: 13/Sep/21 Updated: 29/Oct/23 Resolved: 11/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.1.2, 4.4.11, 5.0.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaitlin Mahar | Assignee: | Eric Cox (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | query-director-triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v5.1, v5.0, v4.4
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | QE 2021-10-18 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
One of our drivers spec tests has started failing when testing against "latest" sharded clusters with the following error:
I've reproduced this in mongosh as follows:
|
| Comments |
| Comment by Githook User [ 22/Nov/21 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: |
| Comment by Githook User [ 04/Nov/21 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: |
| Comment by Githook User [ 29/Oct/21 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: |
| Comment by Githook User [ 08/Oct/21 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: |
| Comment by Pierlauro Sciarelli [ 30/Sep/21 ] |
|
Confirming that the aggregation is not attaching the db version when the specified read concern is "available": the ShardServerProcessInterface gets initialized as "not versioned", so it means that the operation context associated to the pipeline command doesn't have it. Passing over to the query execution team as this doesn't fall under sharding ownership.
|