Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13980

Improve error output in wti_turtle_read

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT12.0.0, 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Not Applicable
    • None
    • Storage Engines

      In meta_turtle.c:wti_turtle_read when an error occurs, the caller gets back WT_TRY_SALVAGE and an error that says fatal turtle file read error. There are several paths to the err: label and that message. However the WT_RET_PANIC call with that message does not include the original ret value nor any indication how we got there.

      The WT_RET_PANIC message should be improved to include the original ret error value and perhaps an internal msg string that indicates which of the WT_ERR paths caused the error.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: