The SortPattern constructors do not check for duplicate paths being in the sort pattern, e.g.
{a:1, b:1, a:1}. This is something we should check for and disallow. There may be existing places in our codebase where a sort pattern with duplicate field names are created by accident.
- related to
-
SERVER-76694 Remove double net from sort key generation
- Closed