[SERVER-70381] _internalSearchIdLookup stage violates a 5.0 precondition of the getOwnershipFilter function Created: 10/Oct/22 Updated: 29/Oct/23 Resolved: 26/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Query Execution |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.1, 5.0.14, 6.0.3, 6.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Sergi Mateo Bellido |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Requested: |
v6.1, v6.0, v5.0
|
||||||||||||||||||||||||
| Sprint: | Sharding EMEA 2022-10-17, Sharding EMEA 2022-10-31 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
The Sharding getOwnershipFilter 5.0 API requires the OperationShardingState to be versioned, otherwise it invariants. In order to hit the invariant you have to set the read concern as available. |
| Comments |
| Comment by Githook User [ 08/Nov/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |
| Comment by Garaudy Etienne [ 08/Nov/22 ] |
|
sergi.mateo-bellido@mongodb.com this means it will make 5.0.14, correct? |
| Comment by Githook User [ 30/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: (cherry picked from commit 83db85a8e224faf3e3bb36c610e9b35669429dfe) |
| Comment by Githook User [ 30/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Just fixing a comment, keeping this commit to know that everything was (cherry picked from commit 58f8772bc2d5fa26f0ade238a0fe1155c55aa2dc) |
| Comment by Githook User [ 30/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Do not build it if the operation is not versioned. (cherry picked from commit f337ba91dcae854e7c090ab2cdb2e4b1c390684a) |
| Comment by Githook User [ 28/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: (cherry picked from commit 83db85a8e224faf3e3bb36c610e9b35669429dfe) |
| Comment by Githook User [ 28/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Just fixing a comment, keeping this commit for consistence (cherry picked from commit 58f8772bc2d5fa26f0ade238a0fe1155c55aa2dc) |
| Comment by Githook User [ 28/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Do not build it if the operation is not versioned. (cherry picked from commit f337ba91dcae854e7c090ab2cdb2e4b1c390684a) |
| Comment by Githook User [ 26/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |
| Comment by Githook User [ 26/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |
| Comment by Githook User [ 26/Oct/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Do not build it if the operation is not versioned. |
| Comment by Kyle Suarez [ 10/Oct/22 ] |
|
Sending this to Query Optimization as they own $idLookup. CC ted.tuckman@mongodb.com |
| Comment by Sergi Mateo Bellido [ 10/Oct/22 ] |
|
Neither the 6.0 nor the master version of _internalSearchIdLookup seem to use the ShardFilterer. Perhaps this is just a problem on 5.0? |
| Comment by Sergi Mateo Bellido [ 10/Oct/22 ] |
|
Passing this ticket to the query-execution team since I believe they own the _internalSearchIdLookup stage. Feel free to reach me for more context and/or add me to the PR review. |