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

Mongorestore fails on GridFS collection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.0.6, 3.0.7
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      I can reproduce it by dumping my collection from mentioned version and restoring to new version, but it may depend on the data I have in the collection.

      Show
      I can reproduce it by dumping my collection from mentioned version and restoring to new version, but it may depend on the data I have in the collection.

      Description

      I have a mongoengine-created collection images.chunks, among others. A mongodump of that database from a version 2.4.9 will fail to restore on newer releases of mongodb. Error message is:
      Failed: restore error: rac-mirror.images.chunks: error restoring from raconteurdb/images.chunks.bson: insertion error: EOF
      Additionally, server log states:
      [conn23] Assertion: 10334:BSONObj size: 33552752 (0x1FFF970) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "images.chunks".

      I can do mongorestore of the dump onto a 2.4.8 and a 2.6 version of database, but it fails to restore on 3.0.6, 3.0.7 and 3.1

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: