[DOCS-2894] db.UpgradeCheckAllDbs() is undocumented Created: 11/Mar/14  Updated: 11/Jan/17  Resolved: 11/Mar/14

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Andre de Frere Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-13129 db.upgradeCheck() no longer checks al... Closed
Participants:
Days since reply: 9 years, 49 weeks, 2 days ago

 Description   

The current error message from db.upgradeCheck() indicates that the user should use db.upgradeCheckAllDbs() to check all databases, bt this helper is undocumented:

> db.upgradeCheck({ db : "test" } )
2014-03-11T13:19:16.004+1100 Error: When providing an argument to upgradeCheck, it must be of the form {collection: <collectionNameString>}. Otherwise, it will check every collection in the database. If you would like to check all databases, run db.upgradeCheckAllDbs() from the admin database. at src/mongo/shell/upgrade_check.js:132


Generated at Thu Feb 08 07:44:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.