[SERVER-41308] Add assertion in $internalSbRemote to check that mongot returns results in correct order Created: 24/May/19 Updated: 06/Dec/22 Resolved: 17/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ian Boros | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query
|
| Participants: |
| Description |
|
There are no checks in $internalSbRemote that mongot returns results ordered by $searchScore. It may make sense to add some.
It seems there is no check in the ARM for the more general case of each shard returning results in sorted order. If we pursue this ticket, adding such a check to the ARM is something we should consider. |