Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-91847

POC using WT event handlers to improve error contexts

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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
       

            Assignee:
            Unassigned Unassigned
            Reporter:
            clarisse.cheah@mongodb.com Clarisse Cheah
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: