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

Percentage of work done is not calculated correctly by mongoimport

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Duplicate
    • Affects Version/s: 3.4.1
    • Fix Version/s: None
    • Component/s: mongoimport
    • Labels:
      None

      Description

      It seems like the done/total computation for the progress is done inversely:

      $ mongoimport -d startups -h localhost:3434 companies.json 
      2017-02-13T13:32:06.666-0800	no collection specified
      2017-02-13T13:32:06.666-0800	using filename 'companies' as collection
      2017-02-13T13:32:06.676-0800	connected to: localhost:3434
      2017-02-13T13:32:09.670-0800	[########################] startups.companies	74.6MB/26.6MB (280.6%)
      2017-02-13T13:32:12.669-0800	[########################] startups.companies	74.6MB/47.4MB (157.4%)
      2017-02-13T13:32:15.668-0800	[########################] startups.companies	74.6MB/68.8MB (108.5%)
      2017-02-13T13:32:16.509-0800	[########################] startups.companies	74.6MB/74.6MB (100.0%)
      2017-02-13T13:32:16.509-0800	imported 18801 documents
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                daniel.coupal Daniel Coupal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: