Skip to content

server: add more information when default not found error is encounterred #18065

@cfzjywxk

Description

@cfzjywxk

Development Task

DataNotFound is an error that may occur in exceptional situations, such as data loss caused by storage medium failure or data inconsistency resulting from a bug.

Currently, when this error occurs, the TiKV logs only contain the key information without additional context, like:

hint: near_load_data_by_write, key: 7480000000000000FF055F728000000000FF0000020000000000FAFFFFFFFFFFFFFFFB, thread_id: 132

Providing additional request context information would help with issue analysis and diagnosis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions