-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.6.0-rc1
-
Component/s: Admin
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When running the upgrade checker, if a collection has an index on "_id" it doesn't complain if the index isn't unique, which generates a startup warning.
Upgrade checker output
www-c:SECONDARY> db.upgradeCheck({db: "aux_www_devel", collection: "web_exceptions"})
Checking collection 'aux_www_devel.web_exceptions' for 2.6 upgrade compatibility
Checking collection aux_www_devel.web_exceptions
Everything in 'aux_www_devel.web_exceptions' is ready for the upgrade!
true
Get indexes output
www-c:SECONDARY> use aux_www_devel
switched to db aux_www_devel
www-c:SECONDARY> db.web_exceptions.getIndexes()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "aux_www_devel.web_exceptions",
"name" : "_id_"
}
]