Allow setting and getting of wtimeoutMS as an int64_t

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: