[DRIVERS-241] Change in getMore behavior in 3.2 Created: 25/Jun/15 Updated: 30/Aug/16 Resolved: 30/Aug/16 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Amor Kvalheim | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
There is a change in behavior coming up in 3.2 related to the ticket. https://jira.mongodb.org/browse/SERVER-2454 If you overwrite the current position of a tailable cursor in a capped collection in 3.0 or earlier it will just return you an empty result on the next getmore. In 3.2 this will cause it to return an error. [ { ok: 0, errmsg: 'GetMore command executor error: InternalError CollectionScan died: Unexpected RecordId', code: 96 }] Code speaks a thousand words so I've included the code causing this in ndoe.js. I'm not sure what kind of impact this code will have on applications so I'm putting in this ticket to get some feedback.
|
| Comments |
| Comment by Dana Groff [ 30/Aug/16 ] |
|
great; go for it. Dana Groff |