[SERVER-31178] Change Streams crash: "Invariant failure pin == ErrorCodes::CursorNotFound" Created: 20/Sep/17 Updated: 08/Jan/24 Resolved: 25/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 2017-10-02 |
| Participants: |
| Description |
|
Seen here:
I think PyMongo is executing:
There may be a session bug in PyMongo right now that uses different lsids for the aggregate and getMore commands - this might or might not be related. mongod.log attached |
| Comments |
| Comment by Githook User [ 25/Sep/17 ] | ||||
|
Author: {'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}Message: pinCursor can return unauthorized, expanding scope of invariant | ||||
| Comment by A. Jesse Jiryu Davis [ 21/Sep/17 ] | ||||
|
You can also do this by sending legacy OP_KILLCURSORS with the change stream's cursorId, when auth is enabled. (Of course we shouldn't use OP_KILLCURSORS. Every PyMongo bug seems to also trigger a server bug.....)
| ||||
| Comment by Tess Avitabile (Inactive) [ 20/Sep/17 ] | ||||
|
mira.carey@mongodb.com, I am investigating if there is a bug here related to change streams and collection drops. |