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