2.2 Release Notes

Upgrading

Here is how.

What's New

Many things.

Major Features

Aggregation Framework
  • Docs
  • MongoDB 2.2 is the first release with the aggregation framework
TTL Collections
Concurrency improvements
Boost 1.49 library now embedded in codebase
Restrictions on Database Names

Database names, which are used as filenames for the backing store, can no longer contain the following characters:

/\. "*<>:|?

If you attempt to upgrade a database whose name contains one or more of these characters, mongod will refuse to start. Change the names of such databases before upgrading.

Data center-aware sharding
Improvements made to query optimizer

Windows-specific Improvements

Added Windows Service support to mongos.exe
Now supporting logRotate command on Windows
Added pagefault detection on Windows

Tool Improvements

mongodump now backs up indexes when run with --collection
Added new 'mongooplog' tool for replaying oplogs
Added support for authentication to mongotop and mongostat
Added write concern support to mongoimport
Allow mongodump from secondaries

Shell Improvements

Added bash command-line features to the shell
Multiline commands now saved properly in shell history
Enabled the Edit command in Windows shell
Added 'cls' (clear screen) command to the shell
Added shell helper command to load server-side functions in the shell

And The Rest

Added support for bulk inserts in the shell
Added scons flag to use external libraries
Nodes removed from a replica set now close connections
No longer require _id index for capped collection update
Fixed concurrency API for OpenSSL
Added --syslog option for sending logs to syslog
Added option to hash shard key
Process ID added to serverStatus command
Added ability to choose initial split points for MR on sharded collection
Added localTime command
Added new build using SlimReadWrite locks
Improved visibility into stuck replication condition
Now tracking I/O time and lock time in profiler
$timestamp extended json format
Allow mongoimport to import up to 16MB in BSON size
No longer possible to rename a collection to an empty string
Improvements to mapreduce with large objects
Retry mapreduce jobs on config error
Reduced file sizes required by config server
Make everything work with auth
Correct bug for failing queries on newly sharded collections
Only sync from members that build indexes unless buildIndexes=false
Abort on startup if insufficient disk space for journal files
Allow specification of padding on compact command

See Also

Follow @mongodb

MongoDB Pittsburgh - May 15
MongoNYC - May 23
MongoDB Paris - Jun 14
MongoDB UK - Jun 20
MongoDC - June 26


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

PLEASE POST QUESTIONS IN THE USER GROUPS FORUM. Post non-question comments and helpful hints here.

blog comments powered by Disqus