On this page本页内容
MongoDB 1.6 is a drop-in replacement for 1.4. To upgrade, simply shutdown mongod
then restart with the new binaries.
Please note that you should upgrade to the latest version of whichever driver you're using. Certain drivers, including the Ruby driver, will require the upgrade, and all the drivers will provide extra features for connecting to replica sets.
Sharding is now production-ready, making MongoDB horizontally scalable, with no single point of failure. A single instance of mongod
can now be upgraded to a distributed cluster with zero downtime when the need arises.
Replica sets, which provide automated failover among a cluster of n
nodes, are also now available.
Please note that replica pairs are now deprecated; we strongly recommend that replica pair users upgrade to replica sets.
w
option (and wtimeout
) forces writes to be propagated to n
servers before returning success (this works especially well with replica sets)findAndModify
command now supports upserts. It also allows you to specify fields to returnYou can see a full list of all changes on JIRA.
Thank you everyone for your support and suggestions!