Error Exception After TiKV Node Failure

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv节点宕机后,报错异常

| username: jackerzhou

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] v6.5.0
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Problem Phenomenon and Impact] After the TiKV node crashed, an error was reported, and TiKV showed as offline.

[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
[“failed to start node: Engine(Other("[components/raftstore/src/store/fsm/store.rs:1166]: \"[components/raftstore/src/store/entry_storage.rs:650]: [region 13299] 290268 validate state fail: Other(\\\"[components/raftstore/src/store/entry_storage.rs:465]: log at recorded commit index [1035] 53868021 doesn’t exist, may lose data, region 13299, raft state hard_state { term: 1035 vote: 290282 commit: 53867756 } last_index: 53867757, apply state applied_index: 53868021 commit_index: 53868021 commit_term: 1035 truncated_state { index: 53867910 term: 1035 }\\\")\""))”]

| username: 考试没答案 | Original post link

Have you tried bringing it back online??? start --node

| username: jackerzhou | Original post link

No, the TiKV process started automatically with the machine.

| username: h5n1 | Original post link

There is an issue with the region.
Use pd-ctl region 13299 to check the region status.