[SERVER-8152] aggregation array sort differs from query/index array sort; causes aggregation results to change depending on sort optimizations Created: 11/Jan/13 Updated: 06/Dec/22 Resolved: 21/Jul/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Query
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Aggregation and queries/indexing sort arrays differently. This can cause the results returned by an aggregation to change when a sort stage is removed in favor of using an index. |
| Comments |
| Comment by David Storch [ 21/Jul/17 ] |
|
This has been fixed under |
| Comment by Aaron Staple [ 11/Jan/13 ] |
|
I didn't remember / find any existing references to this. Sorry if it's a dup. |