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

maxTimeMS and maxAwaitTimeMS should be Int64, not Int32

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Major Change

      The CRUD spec defines maxTimeMS and maxAwaitTimeMS as Int64. Where the C driver handles these in a typed way (as opposed to query-to-command conversion), it expects Int32.

      The following functions use uint32_t for "maxTimeMS" and should be changed:

      • mongoc_cursor_get_max_await_time_ms()
      • mongoc_cursor_set_max_await_time_ms()
      • mongoc_find_and_modify_opts_get_max_time_ms()
      • mongoc_find_and_modify_opts_set_max_time_ms()

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: