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

db.UpgradeCheckAllDbs() is undocumented

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: Server
    • Labels:
      None

      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
      

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

              Created:
              Updated:
              Resolved:
              10 years, 9 weeks, 4 days ago