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

mongodump with query option doesn't display correct number of rows (and percentage) dumped during progress

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc1
    • Component/s: mongodump
    • Labels:
      None
    • Environment:
      ubuntu
    • Backport Requested:
      v2.6

      Description

      When a query is provided to mongodump, the % output while dumping is incorrect. Here's an example:

      https://gist.github.com/smtlaissezfaire/11aa02784daeb3ddd33d

      Notice how there are 169053 documents that match the query, but 11688263 in the whole collection.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gabriel.russell Gabriel Russell
              Reporter:
              smtlaissezfaire Scott Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: