Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1091

Ensure ExecutionTimeoutException selection only considers server error code

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Katherine Walker (Inactive)
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: