Mongorestore: ns name too long, max size is 128

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.8.0-rc1
    • Affects Version/s: None
    • Component/s: mongorestore
    • None
    • Environment:
      Linux 2.6.21, x64. MongoDB running with auth.

      My Mongo database has few indexes with a custom name, because there are too many fields in them to generate a name automatically without failing with "ns name too long" error.

      When I try to restore this database from a backup using mongorestore - it fails with the this very error ("ns name too long, max size is 128"). It seems like mongorestore tries to generate index names based on their content rather than just restore whatever name was actually used in a database.

            Assignee:
            Kyle Erf (Inactive)
            Reporter:
            Rakhim Davletkaliyev
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: