Include the ability to do an upgrade check for users coming from versions prior to 2.6.
Invoke from a 2.6 mongo shell connected to a <2.6 mongod or mongos.
There is the option to only run the checks on an individual db or collection, as well as the ability to skip document level checks.
The shell helper checks the following data and index issues that are no longer valid in 2.6:
- collections without _id field (only possible <= 2.0)
- documents with index keys that are greater than max size (max size depends on key type and index version)
- invalid index specs
- documents with illegal field names