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

mongorestore removes leading tab character from document during import

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongorestore
    • Labels:
      None
    • Environment:
      Linux 3.2.0-36-generic #57-Ubuntu SMP x86_64 GNU/Linux (Ubuntu 12.04.1 LTS)

      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.

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

              Created:
              Updated:
              Resolved: