Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-948

progress bar calculation is incorrect when restoring from a gzipped file

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.9
    • Fix Version/s: 3.2.9, 3.3.11
    • Component/s: None
    • Labels:
    • Backport Requested:
      v3.2
    • Sprint:
      Server Tools D (12/11/15), Server Tools E (01/08/16)

      Description

      It's using (data size after decompression / total file size before decompression), so it's getting results >100% in the progress bar calculation.

      $ ./bin/mongorestore dump/tableau/flights201406.bson.gz --gzip
      2015-10-20T17:59:30.060-0400	checking for collection data in dump/tableau/flights201406.bson.gz
      2015-10-20T17:59:30.062-0400	restoring tableau.flights201406 from
      2015-10-20T17:59:33.061-0400	[########################]  tableau.flights201406  86.3 MB/23.5 MB  (366.8%)
      2015-10-20T17:59:36.062-0400	[########################]  tableau.flights201406  162.1 MB/23.5 MB  (688.6%)
      2015-10-20T17:59:39.064-0400	[########################]  tableau.flights201406  243.4 MB/23.5 MB  (1033.9%)
      2015-10-20T17:59:40.449-0400	[########################]  tableau.flights201406  272.7 MB/23.5 MB  (1158.6%)
      2015-10-20T17:59:40.449-0400	no indexes to restore
      2015-10-20T17:59:40.449-0400	finished restoring tableau.flights201406 (506304 documents)
      2015-10-20T17:59:40.449-0400	done
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabriel.russell Gabriel Russell
                Reporter:
                mpobrien Michael O'Brien
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: