Details
-
Bug
-
Resolution: Fixed
-
Critical - P2
-
4.1.2
-
None
-
Fully Compatible
-
ALL
-
-
Query 2018-09-24, Query 2018-10-08, Query 2018-10-22
Description
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.
Attachments
Issue Links
- related to
-
SERVER-37077 Exchange boundaries are not validated, can result in invariant() failure
-
- Closed
-