-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.2.3, 2.2.7
-
Component/s: Aggregation Framework, Querying
-
None
-
Fully Compatible
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
If I specify a sort aggregation on an indexed key, performance is greatly reduced and the number of scanned items goes up. Looking at the explain, it seems to be adding another plan. When I use a non-indexed key it will not cause another plan and executes quickly.
I know this affects 2.2.7 and 2.2.3 since I tested those both specifically. Didn't try anything between those. I'd like to see this backported into 2.2.8, if possible.