-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
Query 2018-08-13, Query 2018-08-27, Query 2018-09-10
This is just the unsharded piece of SERVER-36047, which we can split off because it won't depend on support for $out to a sharded collection in the same way.
As part of this ticket we should verify that:
- An index exists with some combination of the fields from the uniqueKey. The order of the uniqueKey fields shouldn't matter here, so if my uniqueKey was {a: 1, b: 1} an index on {b: 1, a: 1} should suffice.
- That index is unique.
- That index is not partial.
- That index is compatible with the operation's collation.
- is depended on by
-
SERVER-36047 (Sharded target collection) Enforce existence of unique index containing fields of $out uniqueKey
- Closed