Details
-
Improvement
-
Status: Closed
-
Trivial - P5
-
Resolution: Fixed
-
2.6.0-rc0
Description
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
Attachments
Issue Links
- 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
-