Commit Graph

157 Commits (fb99e615981409f441f33899beb992376858057c)

Author SHA1 Message Date
Jason Wilder bbe0eb49bc Add ability to filter index and block by key string match 2015-10-13 18:16:16 -06:00
Jason Wilder 467ada073a Add flags for dumping only index, block or all data 2015-10-13 17:47:37 -06:00
Jason Wilder 1a3f8c403e Re-work influx_inspect command-line options to use sub-commands
Should make adding new functionality easier.
2015-10-13 17:26:23 -06:00
Jason Wilder ad35dcea38 Handle case where IDs file is out of sync with tsm1 file or missing
Avoids a panic if a series ID exists in the tsm file but not in the IDs file.
Also handles the case were we don't have an ids file and just a tsm file.
2015-10-13 17:19:59 -06:00
Jason Wilder f58c283d8a Add some comments 2015-10-09 22:53:58 -06:00
Jason Wilder bc6d677b06 Add tsm file dump support to influx_inspect
This will read a tsm file and dump index, block and compression level info from the file.
It reads the file directly as opposed to reading it through the tsm engine which should
help with debugging and troubleshooting data file issues.

The implementation is not pretty but the output is very useful.  In the future, we can
add data extraction, recovery and verification functionality if needed.
2015-10-09 22:32:11 -06:00
Philip O'Toole 1e7a86aa61 Rename 'inspect' to 'influx_inspect' 2015-10-09 11:03:39 -07:00