-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical - P2
-
Affects Version/s: 4.1.2
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
ALL
-
-
Query 2018-09-24, Query 2018-10-08
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The ExchangeSpec accepts an array of boundary values which 1) must be correctly sorted and 2) must begin with MinKey and end with MaxKey. It appears that these constraints are not validated when the exchange option to the aggregate command is parsed. This can result in an invariant() failure downstream (the same invariant failure reported in SERVER-37076). Instead, we should fail the aggregate command with an appropriate user assertion when the exchange boundaries are invalid.
- is related to
-
SERVER-37076 Aggregation exchange partitioning does not work correctly for dotted keys, results in invariant() failure
-
- Closed
-