-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: 4.1.2
-
Component/s: Aggregation Framework
-
Labels:None
-
Fully Compatible
-
ALL
-
-
Query 2018-09-24, Query 2018-10-08, Query 2018-10-22
When using range-based partitioning, the Exchange class is responsible for extracting the value of the key on which we are partitioning. In practice, this will be the shard key. This key extraction is not implemented properly when the key pattern contains a dotted field:
This can cause an invariant to be tripped when attempting to assign an input document to a particular exchange partition. See the repro steps for a detailed example.
- related to
-
SERVER-37077 Exchange boundaries are not validated, can result in invariant() failure
- Closed