Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3933

Create consistent reply for estimatedDocumentCount

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.18.0, 1.18.0-alpha
    • None
    • None
    • None

    Description

      As of CDRIVER-3905 mongoc_collection_estimated_document_count can return a different server response format depending on whether the command was run against < 4.9 or 4.9+.

      Create a consistent format for the reply of estimatedDocumentCount. Additionally, the spec only requires us to return an int, so we should investigate the usage of this returned response.

      Also, investigate the error that could be returned with a successful but malformed reply in estimated document count.

      Attachments

        Activity

          People

            benji.rewis@mongodb.com Benji Rewis (Inactive)
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: