[SERVER-15287] Query planner sort analysis incorrectly allows index key pattern plugin fields to provide sort Created: 17/Sep/14 Updated: 11/Jul/16 Resolved: 22/Sep/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.6.4 |
| Fix Version/s: | 2.6.5, 2.7.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Konstantin Kardamanov | Assignee: | J Rassi |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||
| Operating System: | ALL | ||||||||||||||
| Backport Completed: | |||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||
| Participants: | |||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||
| Description |
|
It seems when query planner uses hashed index for search, the same hashed index will be used for sorting. The use-case is a light modification of use-case listed in Reproduced on mongod-2.6.4 |
| Comments |
| Comment by Githook User [ 22/Sep/14 ] |
|
Author: {u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}Message: (cherry picked from commit 2ca7cef6b39d1ffc0c8b54ca6e12bb9d8c633060) |
| Comment by Githook User [ 22/Sep/14 ] |
|
Author: {u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}Message: |
| Comment by Githook User [ 22/Sep/14 ] |
|
Author: {u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}Message: (cherry picked from commit ad1dafb013342faae7e998586a0c35b70ba75636) |
| Comment by Githook User [ 22/Sep/14 ] |
|
Author: {u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}Message: |
| Comment by J Rassi [ 17/Sep/14 ] |
|
korum, thanks for reporting this issue. I'm able to confirm it as a regression introduced in version 2.6.0 of the server. Please continue to watch this ticket for updates on when a fix will be available, and for updates on any workaround solutions. Assigning to hari.khalsa@10gen.com for triage. |