[SERVER-17011] Cursor can return objects out of order if updated during query ("legacy" readMode only) Created: 22/Jan/15 Updated: 20/Nov/16 Resolved: 21/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.6.7, 2.8.0-rc5 |
| Fix Version/s: | 3.2.3, 3.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | David Storch |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-and-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Completed: | |||||||||||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||||||||||
| Sprint: | QuInt A (10/12/15), QuInt B (11/02/15), QuInt C (11/23/15), QuInt E (01/11/16) | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Happens on 2.6.7, and 2.8.rc6, both WT and MMAPV1. See steps to reproduce. This bug is specific to --readMode "legacy"; it will not happen with --readMode "commands" (i.e. if you have a 3.2 server and an updated-for-3.2 driver). |
| Comments |
| Comment by Githook User [ 11/Jan/16 ] |
|
Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}Message: Preserves the sort order for 'ntoreturn hack' plans. (cherry picked from commit 56dba2953b622efcae75d7bd9b6aa4154dd25d34) |
| Comment by Githook User [ 21/Dec/15 ] |
|
Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}Message: Preserves the sort order for 'ntoreturn hack' plans. |
| Comment by David Storch [ 13/May/15 ] |
|
I have confirmed that the patch for EDIT: We have re-opened this ticket in order to evaluate whether we can produce a targeted fix suitable for backport. The fix via the find command will only be available with a version 3.2 cluster plus an upgraded driver that supports 3.2 features. |
| Comment by David Storch [ 23/Jan/15 ] |
|
Introduced by handling of limit/batchSize ambiguity added in EDIT: The work to resolve this by adding a limit to the find command is currently in progress under |