流星会自动更新mongodb版本吗? [英] Does meteor update mongodb version automatically?

查看:73
本文介绍了流星会自动更新mongodb版本吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Meteor 1.2.2,并且据MeteorBlog称,它应该已经安装了Mongodb v3.0或更高版本.

I have Meteor 1.2.2 installed and, according to MeteorBlog, it should comes Mongodb v3.0 or higher installed.

但是,如果继续使用Mongo shell(流星mongo)并执行以下操作:

However, if a go on Mongo shell (meteor mongo) and do:

 $ db.version()

我得到:2.6.7

应该不是3.0吗?我尝试了流星更新,它说所有软件包都是最新的.

Shouldn't it be 3.0? I tried meteor update and it says all packages are up to date.

有没有办法将Mongodb更新到流星接受的最新版本?

Is there a way to update Mongodb to the latest version as accepted by Meteor?

推荐答案

Meteor 1.1附带了对版本3的MongoDB支持,您应该能够在MongoDB 3.0数据库中的生产环境中使用Meteor,而不会出现重大问题.

Meteor 1.1 came with MongoDB support up to version 3 and you're supposed to be able to use Meteor in production along a MongoDB 3.0 database without major problems.

但是,他们决定保留与Meteor工具一起提供的有关Mongo版本的2.6分支,并等到Mongo 3.0足够成熟后再将其包含在官方Meteor发行版中.

However they decided to keep the 2.6 branch regarding the Mongo version shipped with the Meteor tool and wait until Mongo 3.0 is mature enough before including it along official Meteor releases.

这意味着Meteor会按照自己的节奏自动更新其内部工具MongoDB版本.

It means that Meteor updates its internal tool MongoDB version automatically, but at their own pace.

Meteor开发工具随附的本地Mongo环境与您通常在生产中使用的实际Mongo部署有所不同,并且不需要两个版本相同.

The local Mongo environment shipped with the Meteor development tool is something different than the actual Mongo deployment you usually use in production, and it is not required that the 2 versions be the same.

这篇关于流星会自动更新mongodb版本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆