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 TSI support tooling. #8366

Merged
merged 1 commit into from
May 8, 2017
Merged

Conversation

benbjohnson
Copy link
Contributor

Overview

Added a dumptsi command to influx_inspect. It provides the ability to inspect a whole index or a subset of files.

Dumps low-level details about tsi1 files.

Usage: influx_inspect dumptsi [flags] path...

    -series
            Dump raw series data
    -measurements
            Dump raw measurement data
    -tag-keys
            Dump raw tag keys
    -tag-values
            Dump raw tag values
    -tag-value-series
            Dump raw series for each tag value
    -measurement-filter REGEXP
            Filters data by measurement regular expression
    -tag-key-filter REGEXP
            Filters data by tag key regular expression
    -tag-value-filter REGEXP
            Filters data by tag value regular expression

If no flags are specified then summary stats are provided for each file.
Required for all non-trivial PRs
  • Rebased/mergable
  • Tests pass

Copy link
Contributor

@jwilder jwilder left a comment

Choose a reason for hiding this comment

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

Changelog?

@jwilder jwilder added this to the 1.3.0 milestone May 8, 2017
@benbjohnson
Copy link
Contributor Author

@jwilder Does it need a CHANGELOG since TSI is new to 1.3?

@jwilder
Copy link
Contributor

jwilder commented May 8, 2017

@benbjohnson I'd add something under the features section.

@benbjohnson
Copy link
Contributor Author

@jwilder np. I added it in 489c89b.

@benbjohnson benbjohnson merged commit ef6b0e2 into influxdata:master May 8, 2017
@benbjohnson benbjohnson deleted the tsi-inspect branch May 8, 2017 17:01
@benbjohnson benbjohnson removed the review label May 8, 2017
@freeseacher
Copy link

that tooling is missing in help mode.

# influx_inspect                                        
Usage: influx_inspect [[command] [arguments]]

The commands are:

    dumptsm              dumps low-level details about tsm1 files.
    export               exports raw data from a shard to line protocol
    help                 display this help message
    report               displays a shard level report
    verify               verifies integrity of TSM files

"help" is the default command.

Use "influx_inspect [command] -help" for more information about a command.

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.

None yet

3 participants