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 key sanitization to deletetsm #9793

Merged
merged 1 commit into from
Apr 30, 2018
Merged

Conversation

benbjohnson
Copy link
Contributor

Overview

This commit adds the -sanitize flag to influx_inspect deletetsm which will delete all keys that contain invalid, non-printable, or replacement character unicode.

Usage:

$ influx_inspect deletetsm -sanitize PATH

/cc @timhallinflux

This commit adds the `-sanitize` flag to `influx_inspect deletetsm`
which will delete all keys that contain invalid, non-printable, or
replacement character unicode.

Usage:

```sh
$ influx_inspect deletetsm -sanitize PATH
```
@benbjohnson benbjohnson self-assigned this Apr 30, 2018
@benbjohnson benbjohnson requested a review from jwilder April 30, 2018 19:09
@ghost ghost added the review label Apr 30, 2018
@hercules-influx
Copy link
Collaborator

During a run of megacheck the following issues were discovered:

/tmp/569486538/src/github.com/influxdata/influxdb/tsdb/index/inmem/inmem_test.go:127:29: func (*seriesFileWrapper).reopen is unused (U1000)

@benbjohnson benbjohnson merged commit 2e47097 into master Apr 30, 2018
@benbjohnson benbjohnson deleted the bj-delete-nonprintable-unicode branch April 30, 2018 21:38
@ghost ghost removed the review label Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants