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: port influx inspect dumptsi subcommand #21784

Merged
merged 5 commits into from
Jul 6, 2021
Merged

Conversation

serenibyss
Copy link
Contributor

@serenibyss serenibyss commented Jul 2, 2021

Closes #19531

Ports the ./influx inspect dumptsi subcommand to 2.x.

cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Show resolved Hide resolved
cmd/influxd/inspect/dump_tsi/dump_tsi.go Outdated Show resolved Hide resolved
@serenibyss serenibyss requested a review from danxmoran July 2, 2021 20:51
defer fs.Release()
defer fs.Close()
}
defer idx.Close()
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this needs to be wrapped in an if idx != nil, it looks like it'll be nil if fs != nil

@serenibyss serenibyss requested a review from danxmoran July 2, 2021 21:29
@serenibyss serenibyss merged commit ba31a0e into master Jul 6, 2021
@serenibyss serenibyss deleted the inspect-dump-tsi branch July 6, 2021 16:40
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.

Port influxd inspect dump-tsi command
3 participants