[SERVER-1133] Allow mongoimport to error rather than warn on input too large Created: 18/May/10 Updated: 12/Jul/16 Resolved: 03/Jun/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 1.5.1 |
| Fix Version/s: | 1.5.3 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Doug Hudson | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
djh-lp5 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux |
||
| Participants: |
| Description |
|
When input document is too large (a row of JSON) the following is shown in the server "exception userassert:object to insert too large" but loading continues. It would be helpful to (optionally) stop loading if desired. |
| Comments |
| Comment by Mathias Stearn [ 03/Jun/10 ] |
|
added --stopOnError option |
| Comment by auto [ 03/Jun/10 ] |
|
Author: {'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}Message: --stopOnError option to mongoimport |
| Comment by Doug Hudson [ 18/May/10 ] |
|
Server says: Although the import does fail soon after that with: |