maxTimeMS and maxAwaitTimeMS should be Int64, not Int32

XMLWordPrintableJSON

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

      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
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: