-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: Legacy C++ Implementation
-
Component/s: mongorestore
-
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.