-
Type: Improvement
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: 2.6.0-rc0
-
Component/s: Index Maintenance
The result document for createIndexes should use 'changesMade' instead of 'noChangesMade' to avoid double negatives and to be more clear:
db.newColl.runCommand('createIndexes', {indexes: [{key: {_id: 1}, name: 'foo'}]}) { "numIndexesBefore" : 1, "note" : "all indexes already exist", "noChangesMade" : true, "ok" : 1 }
Version: 914a26f51ff7ffeb28922273925318da6a6eba71
- is related to
-
SERVER-1627 add createIndexes command
- Closed
- related to
-
SERVER-16930 remove unnecessary fatal assertion when building multiple indexes concurrently via system.indexes writes
- Closed