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

Allow setting and getting of wtimeoutMS as an int64_t

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.15.0
    • Component/s: libmongoc
    • Labels:

      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

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

                Dates

                Created:
                Updated:
                Resolved: