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

Use `EstimatedDocumentCount` instead `CountDocuments` for progress bar render

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3.1
    • Component/s: mongodump
    • Labels:
      None

      Description

      In some cases, we don't want to use CountDocuments since that comes with a larger performance cost and an estimate is suitable.

       

      Relevant: https://github.com/mongodb/mongo-tools/pull/168

        Attachments

          Activity

            People

            Assignee:
            tim.fogarty Tim Fogarty
            Reporter:
            tim.fogarty Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: