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

Allow setting and getting of wtimeoutMS as an int64_t

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 1.15.0
    • libmongoc

    Description

      The read/write concern spec defines wtimeoutMS to be a 64 bit integer, but it is implemented as an int32_t in libmongoc. (see mongo_write_concern_(get|set)_wtimeout) For full spec compliance, there should be api for setting and retrieving wtimeoutMS as an int64_t.

      Currently, drivers that wrap libmongoc have no way of supporting 64-bit wtimeoutMS, so they in turn are also not spec compliant.

      Attachments

        Issue Links

          Activity

            People

              haris.sheikh@mongodb.com Haris Sheikh (Inactive)
              patrick.freed@mongodb.com Patrick Freed
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: