Ensure ExecutionTimeoutException selection only considers server error code

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ExecutionTimeoutException is currently selected if the bson_error_t code is "50" (i.e. server code for a command that has exceeded maxTimeMS). After upgrading to libmongoc's new error API, we should ensure this comparison is only made if bson_error_t has the MONGOC_ERROR_SERVER domain, which tells us that the code originated from the server.

            Assignee:
            Katherine Walker (Inactive)
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: