The aggregation added in SERVER-44916 and used in SERVER-45389 to find inconsistent sharded indexes relies on $setUnion providing a consistent ordering, which is not supported. Instead, the pipeline will only consider fields known to be important, like name, key, and expireAfterSeconds untilĀ SERVER-29425 adds a supported way to sort an array.
- is duplicated by
-
SERVER-46483 Verify inconsistent sharded indexes pipeline output in mixed version clusters
- Closed
- is related to
-
SERVER-44916 Test and document a pipeline to find inconsistent indexes
- Closed