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: add chunk index-validate command #103

Merged
merged 3 commits into from
Oct 24, 2020

Conversation

jtlisi
Copy link
Contributor

@jtlisi jtlisi commented Oct 23, 2020

Signed-off-by: Jacob Lisi jacob.t.lisi@gmail.com

@jtlisi jtlisi requested a review from a team as a code owner October 23, 2020 22:40
@jtlisi jtlisi force-pushed the 20201023_chunktool_index-validate branch from ee1852f to fc960a4 Compare October 24, 2020 01:13
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
@jtlisi jtlisi force-pushed the 20201023_chunktool_index-validate branch from fc960a4 to 3b93938 Compare October 24, 2020 02:26
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>
@jtlisi jtlisi merged commit 4f8dba3 into cortextool_chunk_clean Oct 24, 2020
@jtlisi jtlisi deleted the 20201023_chunktool_index-validate branch October 24, 2020 02:58
jtlisi added a commit that referenced this pull request Oct 25, 2020
* add "chunk clean" command

* wrap error

* load cortex config

* load schema config

* use yamlv2 for config file parsing

* wip

* fix threading

* fixes

* error handling

* reset line counter

* read file in another thread

* parse hex

* wrap original error

* remove comments

* feat: add chunk index-validate command (#103)

* feat: add chunk index-validate command

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix linting error

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* use go 1.14.9

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* cleanup input better

* make flags consistent, update log messages and changelog (#105)

* make flags consistent, update log messages and changelog

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix errors

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* better named commands

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix changelog

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* refactor code a bit more

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* update readme

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* better help text

* graceful error handling

Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com>

* Update changelog to 0.4.1 release

* remove unneeded map

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix from/to ranges

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* log output for clean-index

Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com>
simonswine pushed a commit to grafana/mimir that referenced this pull request Jan 12, 2022
…-tools#104)

* add "chunk clean" command

* wrap error

* load cortex config

* load schema config

* use yamlv2 for config file parsing

* wip

* fix threading

* fixes

* error handling

* reset line counter

* read file in another thread

* parse hex

* wrap original error

* remove comments

* feat: add chunk index-validate command (grafana/cortex-tools#103)

* feat: add chunk index-validate command

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix linting error

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* use go 1.14.9

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* cleanup input better

* make flags consistent, update log messages and changelog (grafana/cortex-tools#105)

* make flags consistent, update log messages and changelog

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix errors

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* better named commands

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix changelog

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* refactor code a bit more

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* update readme

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* better help text

* graceful error handling

Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com>

* Update changelog to 0.4.1 release

* remove unneeded map

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* fix from/to ranges

Signed-off-by: Jacob Lisi <jacob.t.lisi@gmail.com>

* log output for clean-index

Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com>
friedrichg pushed a commit to cortexproject/cortex-tools that referenced this pull request Aug 1, 2023
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.

2 participants