[SERVER-46716] Support 'let' parameters for updates in sharded environments. Created: 09/Mar/20 Updated: 29/Oct/23 Resolved: 12/Jun/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Pawel Terlecki |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qopt-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Query 2020-05-04, Query 2020-05-18, Query 2020-06-01, Query 2020-06-15 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||
| Description |
|
When initially investigating, I found that the logic for targeting the updates would fail to parse the request without knowing what the constants were, because it does not provide a real ExpressionContext. In order for this to work, I think we need to make a real ExpressionContext which provides the let variable definitions. |
| Comments |
| Comment by Githook User [ 12/Jun/20 ] |
|
Author: {'name': 'Pawel Terlecki', 'email': 'pawel.terlecki@mongodb.com', 'username': 'pterlecki'}Message: Bring back the earlier commit. |
| Comment by Githook User [ 12/Jun/20 ] |
|
Author: {'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com', 'username': 'kaywux'}Message: Revert " This reverts commit 41fd8b2a5b227dda18ab81da51e10ecafcf64a52. |
| Comment by Githook User [ 11/Jun/20 ] |
|
Author: {'name': 'Pawel Terlecki', 'email': 'pawel.terlecki@mongodb.com', 'username': 'pterlecki'}Message: Made cosmetic changes for the sake of consistency. |