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 #6109

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
separate command from output
  • Loading branch information
TomShawn authored Aug 9, 2021
commit f16f9c4e9d3a34d52134c6c0c263e98c5f2bbbd8
3 changes: 3 additions & 0 deletions tikv-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,9 @@ Damaged SST files in TiKV might cause the TiKV process to panic. To clean up the

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The missing note is added in #6129.

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

```bash
--------------------------------------------------------
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
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