Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1595

Percentage is calculated incorrectly for multiGB-sized files

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.4.0
    • Component/s: mongoimport
    • None
    • Environment:
      macOS 10.12.2, zsh 5.2

      When running mongoimport on a huge file (50+ GB in my case) the progress is displayed incorrectly

      2017-01-16T11:55:50.004+0100 connected to: localhost
      2017-01-16T11:55:52.993+0100 ####################### testdb.testcollection 52.8GB/18.5MB (291976.6%)
      2017-01-16T11:55:55.993+0100 ####################### testdb.testcollection 52.8GB/36.9MB (146839.5%)
      2017-01-16T11:55:58.993+0100 ####################### testdb.testcollection 52.8GB/56.3MB (96176.7%)
      2017-01-16T11:56:01.996+0100 ####################### testdb.testcollection 52.8GB/75.8MB (71420.9%)
      2017-01-16T11:56:04.996+0100 ####################### testdb.testcollection 52.8GB/94.3MB (57346.1%)
      2017-01-16T11:56:07.995+0100 ####################### testdb.testcollection 52.8GB/113MB (47925.3%)
      2017-01-16T11:56:10.993+0100 ####################### testdb.testcollection 52.8GB/131MB (41419.1%)

            Assignee:
            Unassigned Unassigned
            Reporter:
            jezzarax Alexey Kuntsevich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: