{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6957","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6957/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6957/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6957/events","html_url":"https://github.com/meteor/meteor/issues/6957","id":152618322,"number":6957,"title":"Update to Mongo 3.2","user":{"login":"tmeasday","id":132554,"avatar_url":"https://avatars.githubusercontent.com/u/132554?v=3","gravatar_id":"","url":"https://api.github.com/users/tmeasday","html_url":"https://github.com/tmeasday","followers_url":"https://api.github.com/users/tmeasday/followers","following_url":"https://api.github.com/users/tmeasday/following{/other_user}","gists_url":"https://api.github.com/users/tmeasday/gists{/gist_id}","starred_url":"https://api.github.com/users/tmeasday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmeasday/subscriptions","organizations_url":"https://api.github.com/users/tmeasday/orgs","repos_url":"https://api.github.com/users/tmeasday/repos","events_url":"https://api.github.com/users/tmeasday/events{/privacy}","received_events_url":"https://api.github.com/users/tmeasday/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Impact:most","name":"Impact:most","color":"e99695"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mongo%20Driver","name":"Project:Mongo Driver","color":"009800"},{"url":"https://api.github.com/repos/meteor/meteor/labels/pull-requests-encouraged","name":"pull-requests-encouraged","color":"e102d8"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Severity:production","name":"Severity:production","color":"e99695"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-02T18:54:00Z","updated_at":"2016-05-11T20:26:13Z","closed_at":null,"body":"This issue is an attempt to outline what needs to be considered as part of this transition. We [plan](https://github.com/meteor/meteor/blob/devel/Roadmap.md#mongodb-updates) to look at this in the short/medium term, however if someone is keen to contribute to the project and wants to see it land earlier, this would be a great opportunity to make a larger contribution!\r\n\r\n### Update Mongo Driver to 3.2 compatible version https://github.com/meteor/meteor/issues/5763\r\n\r\n - [ ] We need to update the version of the `node-mongodb-native` package used here: https://github.com/meteor/meteor/blob/devel/packages/npm-mongo/package.js to at least 2.1.0 (I guess we may as well get the latest 2.1.9).\r\n\r\n - [ ] Check our uses of the driver in https://github.com/meteor/meteor/blob/devel/packages/mongo/ and other core code. Supposedly the API is backwards compatible, although there are some small issues mentioned here: https://github.com/meteor/meteor/issues/5763#issuecomment-163055637\r\n\r\n - [ ] Ensure tests pass\r\n\r\n(We should also probably remove the `npm-mongo` wrapper package and just peer-depend on the npm package from `mongo`, but I think we should wait to do this, it'll be a larger issue we have to solve with the 1.4 move to npm).\r\n\r\n### Update bundled Mongo in the dev bundle to 3.2 https://github.com/meteor/meteor/issues/5809\r\n\r\n - [ ] Update our fork of Mongo [https://github.com/meteor/mongo] to 3.2 (there has been work done already in this direction: https://github.com/meteor/mongo/tree/ssl-r3.2.0). This fork allows us to statically link Mongo.\r\n \r\n - [ ] Update https://github.com/meteor/meteor/blob/devel/scripts/build-mongo-for-dev-bundle.sh to build + include Mongo 3.2.\r\n\r\n - [ ] Update generate-dev-bundle scripts\r\n\r\n - [ ] Ensure that if you run the 3.2 Mongo server against an (older) 2.6 local database, it gives a meaningful error that suggests that you `meteor reset` or look into taking steps to upgrading your db contents\r\n\r\n### Errata\r\n\r\n - [ ] Update https://github.com/meteor/meteor/blob/devel/scripts/admin/test-packages-with-mongo-versions.rb to also test 3.2\r\n \r\n### I don't think we need to do this:\r\n\r\n - [ ] Resolve building the binary on developer machines - this means continue to maintain our fork of `node-mongodb-native` to include this commit https://github.com/mongodb/node-mongodb-native/commit/634759e6326dc19a228df66ddb309285532f3b8a (which would now need to be against https://github.com/christkv/mongodb-core/blob/1.3/package.json)\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/218579421","html_url":"https://github.com/meteor/meteor/issues/6957#issuecomment-218579421","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6957","id":218579421,"user":{"login":"dgtlife","id":3827133,"avatar_url":"https://avatars.githubusercontent.com/u/3827133?v=3","gravatar_id":"","url":"https://api.github.com/users/dgtlife","html_url":"https://github.com/dgtlife","followers_url":"https://api.github.com/users/dgtlife/followers","following_url":"https://api.github.com/users/dgtlife/following{/other_user}","gists_url":"https://api.github.com/users/dgtlife/gists{/gist_id}","starred_url":"https://api.github.com/users/dgtlife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgtlife/subscriptions","organizations_url":"https://api.github.com/users/dgtlife/orgs","repos_url":"https://api.github.com/users/dgtlife/repos","events_url":"https://api.github.com/users/dgtlife/events{/privacy}","received_events_url":"https://api.github.com/users/dgtlife/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T20:26:13Z","updated_at":"2016-05-11T20:26:13Z","body":"I have made modifications to `mongo` and `npm-mongo` that involve the use of the latest MongoDB Node.js Driver (albeit still in the `npm-mongo` wrapper) and the addition of support for SSL, and X.509 Auth on SSL via additional environment variables. This is a quick hack to keep me on track while I wait for the \"official\" package(s) to be made available. You can find the mods at [https://github.com/dgtlife/meteor-mongo-for-3.2.x](url).\r\n\r\nHopefully this helps the effort. "}}