[SERVER-2495] Make progress bar meter units clear on dump/restore WAS: mongodump and mongorestore progress output inconsistent - docs/bytes Created: 08/Feb/11  Updated: 12/Jul/16  Resolved: 13/Oct/11

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

Type: Improvement Priority: Minor - P4
Reporter: David Mytton Assignee: Brandon Diamond
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

When running mongodump, the progress output shows docs completed / total docs (% complete). However, mongorestore shows bytes completed / total bytes (% complete). This should be consistent so as not to cause confusion.



 Comments   
Comment by auto [ 13/Oct/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-2495: Added units to ProgressMeter

mongodump/restore and bsondump will now indicate the correct unit
in progress meter output. Dump emits units "objects" whereas restore
emits units "bytes" (as we do not know the total # of objects)
Branch: master
https://github.com/mongodb/mongo/commit/983d18b904300a4780b05d7190449f1399effc42

Comment by Eliot Horowitz (Inactive) [ 08/Feb/11 ]

We can't make it consistent as we don't know everything, but we can make it clear.

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