Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 在线有损恢复后 tikv启动不了
【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)
How many nodes did you originally have in TiKV?
Are you saying there’s only one TiKV? If it gets damaged, it won’t be able to start?
Where is the original file?
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.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.