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

mongorestore removes leading tab character from document during import

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • Legacy C++ Implementation
    • mongorestore
    • None
    • Linux 3.2.0-36-generic #57-Ubuntu SMP x86_64 GNU/Linux (Ubuntu 12.04.1 LTS)

    Description

      mongorestore removes the leading tab character from a field's value when performing a restore. In my case, this results in a duplicate key violation since the field is indexed and there also exists a document with an identical value for the field sans the tab character. Inspecting the BSON file being imported shows that it does contain the tab character.

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            mhurne Matt Hurne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: