Also getting "Assertion: 10338:Invalid use of reserved field name" when exporting and importing a very specific collection.
Repro
MongoDB shell version: 2.0.0
connecting to: test
> db.test_collection.insert(
)
> db.test_collection.insert(
)
> db.test_collection.insert(
)
> db.test_collection.insert(
)
> mongoexport -d test -c test_collection -o test.json --jsonArray
connected to: 127.0.0.1
exported 4 records
> mongoimport -d test -c test_collection --file test.json --jsonArray
connected to: 127.0.0.1
Tue Sep 13 21:00:18 Assertion: 10338:Invalid use of reserved field name
exception:Invalid use of reserved field name
:
, "text" : "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "sort_order" : 4 }]
imported 2 objects
encountered 1 error