Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13130

db.upgradeCheck() or db.upgradeCheckAllDbs() can time out

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • 2.6.0-rc1
    • Shell
    • ALL

    Description

      On a large database (or a number of large databases) db.upgradeCheck() can time out, leaving the user without a definitive response as to the status of their upgrade:

      mongos> use admin
      switched to db admin
      mongos> db.upgradeCheckAllDbs()
      ...
      ...
      23766468 documents processed
      23804050 documents processed
      23842477 documents processed
      2014-03-11T00:41:55.871+0000 error: {
              "$err" : "getMore: cursor didn't exist on server, possible restart or timeout?",
              "code" : 13127
      } at src/mongo/shell/query.js:131

      Attachments

        Activity

          People

            matt.dannenberg Matt Dannenberg
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: