TiKV Unable to Start After Online Lossy Recovery

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

Original topic: 在线有损恢复后 tikv启动不了

| username: TiDBer_3ZQWFOHI

【TiDB Usage Environment】Production Environment / Testing / PoC
【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
【Resource Configuration】Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
【Attachments: Screenshots/Logs/Monitoring】


New Text Document.txt (78.9 KB)

| username: Billmay表妹 | Original post link

How many nodes did you originally have in TiKV?

| username: TiDBer_3ZQWFOHI | Original post link

It is a single node.

| username: yilong | Original post link

Are you saying there’s only one TiKV? If it gets damaged, it won’t be able to start?

| username: xfworld | Original post link

Where is the original file?

| username: TiDBer_jYQINSnf | Original post link

Is it still the post from last week? Are you still persistent about recovery?
Then execute the following commands, let me check the situation and see if it can be recovered:
Go to the machine where TiKV is located and find the TiKV data directory, for example, /var/lib/tikv/db
Find the tikv-ctl command
Execute

cat /var/lib/tikv/db/CURRENT
tikv-ctl ldb manifest_dump --path /var/lib/tikv/db/MANIFEST-XXX --hex // The xxx here is the content output above by CURRENT

Post the output here for me to see.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.