Commit Graph

3 Commits

Author SHA1 Message Date
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Max Hirschhorn
ffe490c80e SERVER-11064 Stricter validation of index key patterns.
Each value in the index key pattern must be one of the following:
  - a number > 0 (ascending)
  - a number < 0 (descending)
  - a string (special index type)

Since the key pattern is validated on startup for all existing indexes,
mongod will fail to start up if an index not meeting the above criteria
exists.

Additionally, if an index with an invalid key pattern is replicated from
an older version, then newer versions of mongod running in a
mixed-version replica set will fassert().
2016-01-27 10:33:12 -05:00