[SERVER-5912] Error message for too-long line in mongoimport is unclear Created: 23/May/12  Updated: 11/Jul/16  Resolved: 04/Jun/12

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: 2.1.2

Type: Improvement Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Right now it says: "Assertion: 10263:unknown error reading file" if a line is longer than 16MB.



 Comments   
Comment by auto [ 04/Jun/12 ]

Author:

{u'login': u'weyrick', u'name': u'Shannon Weyrick', u'email': u'weyrick@mozek.us'}

Message: SERVER-5912 Better error message on long line

Check correct bitflag for getline() overflow. Verify tool smoke tests run.
adjust error message to indicate a potential general read error

Signed-off-by: Eric Milkie <milkie@10gen.com>
Branch: master
https://github.com/mongodb/mongo/commit/67964f27dd5268b3c35a45386878c8f655565274

Comment by Shannon Weyrick [ 04/Jun/12 ]

Signed, thanks.

Comment by Ian Whalen (Inactive) [ 03/Jun/12 ]

@shannon - thanks for submitting this pull request. In order for us to potentially incorporate it, we'll need you to read and sign the Contributor Agreement at http://www.10gen.com/contributor first. Thanks!

Comment by Shannon Weyrick [ 01/Jun/12 ]

Patch here: https://github.com/mongodb/mongo/pull/228

Generated at Thu Feb 08 03:10:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.