[SERVER-81057] Writes without shard key doesn't work with constants defined in 'let' Created: 13/Sep/23 Updated: 29/Oct/23 Resolved: 09/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Lingzhi Deng | Assignee: | Jason Zhang |
| 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: |
v7.1
|
||||||||||||||||||||
| Steps To Reproduce: | For update: change the cmdObj for this test case to
For delete: change the cmdObj for this test case to
And they will fail with
|
||||||||||||||||||||
| Sprint: | Sharding NYC 2023-09-18, Sharding NYC 2023-10-02, Sharding NYC 2023-10-16 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
I think the read phase doesn't take into account the 'let' (and probably 'c' as well) fields when constructing the read query. |
| Comments |
| Comment by Githook User [ 07/Oct/23 ] |
|
Author: {'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}Message: |