[SERVER-8330] mongoimport (v2.3.2) bug with dates before unix-epoch. throws : BSON representation of supplied JSON is too large Created: 25/Jan/13 Updated: 11/Jul/16 Resolved: 14/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.3.2 |
| Fix Version/s: | 2.4.0-rc1 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Marc Schwering | Assignee: | Shaun Verch |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS X 10.7.5 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Try to import the attached data. or: create a document like so:
|
||||||||
| Participants: | |||||||||
| Description |
|
I've spotted an issue importing a 2.2.2 exported collection with 2.3.2 mongoimport. I am guessing it is because of a date before unix-epoch. (See Data below and attached files). could reproduce it with a various date before 1970 Workaround(s):
Info: It doesn't matter which mongoexport is used. Data as in collection:
Data as json:
|
| Comments |
| Comment by auto [ 15/Feb/13 ] |
|
Author: {u'date': u'2013-02-14T22:52:46Z', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}Message: |
| Comment by auto [ 14/Feb/13 ] |
|
Author: {u'date': u'2013-02-13T22:51:41Z', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}Message: |