[SERVER-1278] do cursors work properly in all cases with sharding? Created: 22/Jun/10 Updated: 12/Jul/16 Resolved: 22/Jul/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dwight Merriman | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
I am guessing there are problems when migrates happen. a couple different cases to consider. we should have some tests too before closing the ticket : have a cursor, force a migrate, do getmore... |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 08/Mar/11 ] |
|
Yes, this is really fixed. |
| Comment by Andrew Armstrong [ 08/Mar/11 ] |
|
Hmm is this really fixed? Dwight's latest comment makes me nervous that its possible a query can miss data if its mid migration - for both serial and parallel queries. |
| Comment by Dwight Merriman [ 29/Jul/10 ] |
|
what about scatter/gather scenarios? positive no dups etc. then? |
| Comment by Alberto Lerner [ 22/Jul/10 ] |
|
Fixed by |
| Comment by auto [ 22/Jul/10 ] |
|
Author: {'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}Message: |
| Comment by auto [ 22/Jul/10 ] |
|
Author: {'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}Message: |
| Comment by auto [ 22/Jul/10 ] |
|
Author: {'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}Message: |
| Comment by auto [ 22/Jul/10 ] |
|
Author: {'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}Message: |
| Comment by Dwight Merriman [ 22/Jun/10 ] |
|
great - well we need test cases anyway. if there is an update, i guess the versions on the two shards will vary, but i think that is ok as we do not do promise snapshotting. |
| Comment by Eliot Horowitz (Inactive) [ 22/Jun/10 ] |
|
I think it actually is handled correctly. |
| Comment by Dwight Merriman [ 22/Jun/10 ] |
|
above is talking about user / client cursors (with cursorids) |