Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77326

Change usage of .count() to .itCount() in transaction_reaper.js

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding NYC
    • ALL
    • 5

      From the docs: When you call count() without a query predicate, you may receive inaccurate document counts. Without a query predicate, count() methods return results based on the collection's metadata, which may result in an approximate count.

      Change usage of .count() to .itCount() for all usages in transaction_reaper.js.

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            sanika.phanse@mongodb.com Sanika Phanse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: