Mongorestore limited to restore documents which are larger than 5MB

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.8.0-rc0
    • Affects Version/s: 1.7.6
    • Component/s: Tools
    • None
    • Environment:
      All
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Mongorestore doesn't restore documents which are larger than 5MB.

      The following error is shown:
      got an object of size: 5458593 terminating...
      assertion: 10264 invalid object size

      Possible Fix:

      • Modify "tools/tool.cpp"
        change line 392 to const int BUF_SIZE = 1024 * 1024 * 16;

              Assignee:
              Eliot Horowitz (Inactive)
              Reporter:
              Zoltan Lorincz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: