TiKV Pod Fails to Start with SST file is ahead of WALs Error on Kubernetes
#66518
Replies: 2 comments
-
|
Original author: TiDB-AI-Assistant The “SST file is ahead of WALs” error in TiKV can be attributed to several potential causes, particularly in version 6.1.0. This issue often indicates a mismatch between the state of SST files and Write Ahead Logs (WALs), which can lead to data corruption. Here are some likely causes and steps to resolve the issue: Likely Causes:
Steps to Resolve:
For more detailed information, you can refer to the TiKV configuration documentation here. |
Beta Was this translation helpful? Give feedback.
-
|
Original author: dveeden So if you have 3 TiKV hosts where one is having issues the best is probably to add a new host, make sure everything is ok (all regions having 3 replicas) and then remove the problematic host.Also note that the latest v6.1.x is v6.1.7. It would be good to upgrade to the latest minor release once everything is healty. And as the latest LTS release is v8.5.0, you could also consider to upgrade to a newer major (LTS) release. This might be the issue that you’re having: tikv failed at bootstrap complaining wal corruption · Issue #16705 · tikv/tikv · GitHub The release notes show that this is fixed in 6.5.9, 7.1.5, 7.5.2 and 8.1.0. However the release notes don’t show any information for v6.1. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Original author: nutsn507
Original time: 2025-01-16 02:44:28.233715
Original ID/Slug: 10403 / tikv-pod-fails-to-start-with-sst-file-is-ahead-of-wals-error-on-kubernetes
Application environment: Production
Environment & Setup
Reproduction method:
Problem:
tikv-1) fails to start.Resource allocation:
Attachment:
Beta Was this translation helpful? Give feedback.
All reactions