Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add print the bad sst files and related information for tikv-ctl #6825

Merged
merged 5 commits into from
Aug 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
address comments
Signed-off-by: Xintao <hunterlxt@live.com>
  • Loading branch information
hunterlxt committed Aug 9, 2021
commit 084fe5ad092ba81ec59a5136c8ad1afcc9ae8329
3 changes: 3 additions & 0 deletions tikv-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,9 @@ SST 文件的损坏会导致 TiKV 进程 panic,为了清理掉这些文件,

```bash
$ tikv-ctl bad-ssts --db </path/to/tikv/db> --pd <endpoint>
```

```bash
--------------------------------------------------------
corruption info:
data/tikv-21107/db/000014.sst: Corruption: Bad table magic number: expected 9863518390377041911, found 759105309091689679 in data/tikv-21107/db/000014.sst
Expand Down