Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2894

db.UpgradeCheckAllDbs() is undocumented

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • Server
    • None

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 49 weeks, 2 days ago