Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-812

Assertion in mongorestore tools/tools.cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Attempting a mongo restore of dozens of databases with the following command:

      mongorestore --host dev-mongo01 --drop .

      Results in the following:

      2015-06-18T14:37:58.023-0500 Assertion failure amt == (size_t)( size - 4 ) src/mongo/tools/tool.cpp 330
      2015-06-18T14:37:58.064-0500 0x1216fa1 0x11b7c39 0x119c1a4 0x1190090 0x77954b 0x77e417 0x77dbe1
       mongorestore(_ZN5mongo15printStackTraceERSo+0x21) [0x1216fa1]
       mongorestore(_ZN5mongo10logContextEPKc+0x159) [0x11b7c39]
       mongorestore(_ZN5mongo12verifyFailedEPKcS1_j+0x194) [0x119c1a4]
       mongorestore(_ZN5mongo8BSONTool11processFileERKN5boost11filesystem34pathE+0x9c0) [0x1190090]
       mongorestore(_ZN7Restore22processFileAndMetadataERKN5boost11filesystem34pathERKSs+0xd9b) [0x77954b]
       mongorestore(_ZN7Restore9drillDownEN5boost11filesystem34pathEbbbb+0xe47) [0x77e417]
       mongorestore(_ZN7Restore9drillDownEN5boost11filesystem34pathEbbbb+0x611) [0x77dbe1]
      assertion: 0 assertion src/mongo/tools/tool.cpp:330
      

      This happens on one database specifically, as it was confirmed with a --db DBName PathToDBBackup args with the same failure.

        Attachments

          Activity

            People

            Assignee:
            kyle.erf Kyle Erf
            Reporter:
            sallgeud Chad Kreimendahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: