-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
RSS Sydney
We have recently run into two tickets where the errors returned by WT (e.g. EINVAL and WT_ERROR) didn't come with sufficient context for us to decide what to do, uncovering a need for more granular errors from WT. Instances can also occur where the error gets propagated to users in a misleading manner.
WT has an existing event handler mechanism (WT_EVENT_HANDLER) that could be experimented with for this purpose, but while the infrastructure is in place it does not have the full functionality to attach to sessions and obtain/pass us the needed context.
This ticket can investigate a POC to integrate the existing event handler callback into our error handling with the intention of providing needed context.
Attached is a diff
- is depended on by
-
SERVER-82688 mongod crash, bug fix when connections > wiredtiger's session_max
- Blocked
- related to
-
SERVER-91848 POC querying WT session for more context on error code
- Open
-
WT-13203 POC using WT event handlers to improve MDB error contexts
- Open