[SERVER-35954] Build uniqueKey from the shard key if not present in user command Created: 03/Jul/18 Updated: 29/Oct/23 Resolved: 24/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Nicholas Zolnierz | Assignee: | Charlie Swanson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Sprint: | Query 2018-08-13, Query 2018-08-27, Query 2018-09-10 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
If the aggregation is run in a cluster, the unique key should be the _id and all of the fields of the shard key. Otherwise, the unique key is just the _id. |
| Comments |
| Comment by Githook User [ 24/Aug/18 ] |
|
Author: {'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}Message: |
| Comment by Charlie Swanson [ 20/Aug/18 ] |
|
Moving back to Open since I'm taking over the code review from Minji but not yet working on it. I'll drag it back to "In Code Review" once I open up a new review that I can add patches to. |