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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Sharding NYC
    • ALL
    • 5

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: