-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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.