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

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

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

      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

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

              Created:
              Updated:
              Resolved: