[SERVER-3834] mongoimport from mongoexport file with --jsonArray in 2.0 broken Created: 13/Sep/11 Updated: 11/Jul/16 Resolved: 27/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 2.0.0 |
| Fix Version/s: | 2.0.1, 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kenny Inggs | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7 64 bit |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
mongoimport from mongoexport file with --jsonArray in 2.0 is broken mongoimport only imports 4/10 items in the collection if I use --jsonArray Repro ) ) ) ) ) ) ) ) ) ) > mongoexport -d test -c test_collection -o test.json --jsonArray > mongoimport -d test -c test_collection --file test.json --jsonArray |
| Comments |
| Comment by auto [ 09/Oct/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Fix mongoimport on jsonArrays. |
| Comment by auto [ 27/Sep/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: Fix mongoimport on jsonArrays. |
| Comment by Christopher Harris [ 24/Sep/11 ] |
|
Agreed. With a JSON array of 12 items, only 4 are inserted into the specified collection of the specified DB. It works as expected in 1.8.3 but not in 2.0 |