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

Allow setting and getting of wtimeoutMS as an int64_t

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.15.0
    • Affects Version/s: None
    • Component/s: libmongoc

      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.

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

              Created:
              Updated:
              Resolved: