[SERVER-2427] odd extra output in mongoimport Created: 27/Jan/11  Updated: 12/Jul/16  Resolved: 31/Jan/11

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 1.7.5
Fix Version/s: 1.7.6

Type: Bug Priority: Minor - P4
Reporter: Matt Billenstein Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 32bit


Operating System: Linux
Participants:

 Description   

1.6.3:
ubuntu@domU-12-31-39-06-B2-05:~$ /opt/mongodb/bin/mongoimport --drop -d testdb -c testcol < test.out
connected to: 127.0.0.1
dropping: testdb.testcol
16400 5466/second
34900 5816/second
52300 5811/second
71300 5941/second
90100 6006/second
imported 100000 objects

1.7.5:
ubuntu@domU-12-31-39-00-88-F5:~$ /opt/mongodb/bin/mongoimport --drop -d testdb -c testcol < test.out 2> /dev/null
connected to: 127.0.0.1
dropping: testdb.testcol
1172890/18446744073709551615 0%
14800 4933/second
2852890/18446744073709551615 0%
35800 5966/second
4388890/18446744073709551615 0%
55000 6111/second
5996890/18446744073709551615 0%
75100 6258/second
7756890/18446744073709551615 0%
97100 6473/second
imported 100000 objects

Maybe some extra debug? The import seems to work fine.



 Comments   
Comment by auto [ 31/Jan/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: fix mongoimport progress bar with stdin SERVER-2427
https://github.com/mongodb/mongo/commit/9a6f2dcf91c2025f7549c875e78e4a203b26adcf

Comment by Eliot Horowitz (Inactive) [ 31/Jan/11 ]

Oh, I see.
We don't handle stdin correctly for progress bar.

Comment by Scott Hernandez (Inactive) [ 31/Jan/11 ]

Is it designed to show 0% the whole time?

That is all the output from the whole import. I would have considered it a progress bar had it gone from 0-100%.

Comment by Eliot Horowitz (Inactive) [ 31/Jan/11 ]

that's a new progress meter in 1.7.5

Generated at Thu Feb 08 02:59:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.