github.com/m3db/m3@v1.5.0/src/cmd/tools/verify_data_files/README.md (about) 1 # verify_data_files 2 3 `verify_data_files` is a utility to verify data files in a given directory. 4 5 # Usage 6 ``` 7 $ git clone git@github.com:m3db/m3.git 8 $ make verify_data_files 9 $ ./bin/verify_data_files 10 Usage: verify_data_files [-fit] [-o value] [-p value] [parameters ...] 11 -f, --fail-fast Fail fast will bail on first failure 12 -i, --fix-invalid-ids 13 Fix invalid IDs will remove entries with IDs that have 14 non-UTF8 chars 15 -o, --fix-path-prefix=value 16 Fix output path file prefix for fixed files 17 -p, --path-prefix=value 18 Path prefix [e.g. /var/lib/m3db] 19 -t, --fix-invalid-tags 20 Fix invalid tags will remove tags with name/values non-UTF8 21 chars 22 23 # example usage 24 # verify_data_files --fail-fast --path-prefix /var/lib/m3db 25 ```