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

feat(storage): Add influxd inspect verify-wal tool #14221

Merged
merged 5 commits into from
Jun 27, 2019

Conversation

adamperlin
Copy link
Contributor

@adamperlin adamperlin commented Jun 27, 2019

Closes #9768
Also see #10993

Describe your proposed changes here.

Adds verify-wal sub-command to influxd inspect which will check WAL files for corruption. Given a directory, the tool simply attempts to parse all the entries in any WAL files it finds. If a corrupt entry is found, the file is reported to the user. Do we want to update docs on this tool?

Usage: $ influxd inspect verify-wal --data-dir=/my/storage/dir/

@benbjohnson
Copy link
Contributor

Do we want to update docs on this tool?

/cc @stevebang

@sanderson
Copy link
Contributor

@adamperlin adamperlin force-pushed the influx-inspect-verify-wal-2.x branch from ebe5863 to 25c94c4 Compare June 27, 2019 23:03
@adamperlin adamperlin force-pushed the influx-inspect-verify-wal-2.x branch from 25c94c4 to a88cf8d Compare June 27, 2019 23:29
@adamperlin adamperlin changed the title Influx inspect verify wal 2.x feat(storage): Add influxd inspect verify-wal tool Jun 27, 2019
@adamperlin adamperlin merged commit 095bfe2 into master Jun 27, 2019
@adamperlin adamperlin deleted the influx-inspect-verify-wal-2.x branch June 27, 2019 23:40
Copy link
Member

@jacobmarble jacobmarble left a comment

Choose a reason for hiding this comment

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

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a verify wal tool
4 participants