{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/mongoose/issues/6357","repository_url":"https://api.github.com/repos/Automattic/mongoose","labels_url":"https://api.github.com/repos/Automattic/mongoose/issues/6357/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/mongoose/issues/6357/comments","events_url":"https://api.github.com/repos/Automattic/mongoose/issues/6357/events","html_url":"https://github.com/Automattic/mongoose/issues/6357","id":314826685,"number":6357,"title":"Cursor session id (none) is not the same as the operation context's  - release 5.0.15 broken","user":{"login":"simllll","id":5757263,"avatar_url":"https://avatars2.githubusercontent.com/u/5757263?v=4","gravatar_id":"","url":"https://api.github.com/users/simllll","html_url":"https://github.com/simllll","followers_url":"https://api.github.com/users/simllll/followers","following_url":"https://api.github.com/users/simllll/following{/other_user}","gists_url":"https://api.github.com/users/simllll/gists{/gist_id}","starred_url":"https://api.github.com/users/simllll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simllll/subscriptions","organizations_url":"https://api.github.com/users/simllll/orgs","repos_url":"https://api.github.com/users/simllll/repos","events_url":"https://api.github.com/users/simllll/events{/privacy}","received_events_url":"https://api.github.com/users/simllll/received_events","type":"User","site_admin":false},"labels":[{"id":616301614,"url":"https://api.github.com/repos/Automattic/mongoose/labels/needs%20repro%20script","name":"needs repro script","color":"0e8a16","default":false},{"id":17931294,"url":"https://api.github.com/repos/Automattic/mongoose/labels/priority","name":"priority","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Automattic/mongoose/milestones/223","html_url":"https://github.com/Automattic/mongoose/milestone/223","labels_url":"https://api.github.com/repos/Automattic/mongoose/milestones/223/labels","id":3290272,"number":223,"title":"5.0.17","description":"","creator":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars2.githubusercontent.com/u/1620265?v=4","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2018-04-23T16:17:13Z","updated_at":"2018-04-24T19:46:25Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-04-16T21:35:10Z","updated_at":"2018-04-24T19:47:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"bug with the latest mongoose (guess the underyling problem lies in mongodb-core though).\r\n\r\n**What is the current behavior?**\r\nAfter upgrading to 5.0.15 no queries are running anymore:\r\n```\r\nUnhandled rejection MongoError: Cursor session id (none) is not the same as the operation context's session id (f6a28f6f-7dfa-424d-8691-fd40b12733ee - 0rbp3hXFaGQzW/eEz2QZrZ7et36CzL3bnxgnuRX9rEo=)\r\n    at /home/simon/Dev/Web/hokify-server/node_modules/mongodb-core/lib/connection/pool.js:598:61\r\n    at authenticateStragglers (/home/simon/Dev/Web/hokify-server/node_modules/mongodb-core/lib/connection/pool.js:516:16)\r\n    at Connection.messageHandler (/home/simon/Dev/Web/hokify-server/node_modules/mongodb-core/lib/connection/pool.js:552:5)\r\n    at emitMessageHandler (/home/simon/Dev/Web/hokify-server/node_modules/mongodb-core/lib/connection/connection.js:309:10)\r\n    at Socket.<anonymous> (/home/simon/Dev/Web/hokify-server/node_modules/mongodb-core/lib/connection/connection.js:452:17)\r\n    at Socket.emit (events.js:159:13)\r\n    at addChunk (_stream_readable.js:265:12)\r\n    at readableAddChunk (_stream_readable.js:252:11)\r\n    at Socket.Readable.push (_stream_readable.js:209:10)\r\n```\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\nJust upgrade it, didn't change anything else.\r\n\r\n**What is the expected behavior?**\r\nWork the same way like it does with 5.0.14. Downgrading to .14 solves all problems instantely.\r\n\r\n**Please mention your node.js, mongoose and MongoDB version.**\r\nnode v9.3.0\r\nmongoose 5.0.15\r\nmongodb 3.6.4"},"comment":{"url":"https://api.github.com/repos/Automattic/mongoose/issues/comments/384056858","html_url":"https://github.com/Automattic/mongoose/issues/6357#issuecomment-384056858","issue_url":"https://api.github.com/repos/Automattic/mongoose/issues/6357","id":384056858,"user":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars2.githubusercontent.com/u/1620265?v=4","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T19:47:27Z","updated_at":"2018-04-24T19:47:27Z","author_association":"COLLABORATOR","body":"I'll keep this open to track, glad they fixed the issue :+1: I got bit today by implicit sessions as well, got some good feedback for the MongoDB driver team to improve them"}}
{"actor":{"display_login":"vkarpov15"}}