-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[release-2.7.x] Add single compactor http client for delete and gennumber clients #7607
[release-2.7.x] Add single compactor http client for delete and gennumber clients #7607
Conversation
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. - ingester -0.2%
- distributor -2.4%
+ querier 0%
+ querier/queryrange 0.1%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
+ loki 0% |
30a4933
to
38f7e1c
Compare
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
- distributor -0.4%
+ querier 0%
+ querier/queryrange 0.1%
+ iter 0%
+ storage 0.2%
+ chunkenc 0%
- logql -0.1%
+ loki 0.5% |
pkg/loki/loki.go
Outdated
@@ -74,7 +74,7 @@ type Config struct { | |||
InternalServer internalserver.Config `yaml:"internal_server,omitempty"` | |||
Distributor distributor.Config `yaml:"distributor,omitempty"` | |||
Querier querier.Config `yaml:"querier,omitempty"` | |||
DeleteClient deletion.Config `yaml:"delete_client,omitempty"` | |||
CompactorClient compactor.ClientConfig `yaml:"compactor_client,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this a breaking change when the config key changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only for v2.7.0 since we released it without this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, but we shouldn't backport breaking changes. People upgrading from 2.7.0 to 2.7.1 would not expect a breaking change.
Can we get this fix into the 2.7 release branch without being a breaking change, e.g. not changing the config key (and CLI argument name). That should work, because the configs are compatible, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working on this right a way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chaudum Change this, PTAL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
38f7e1c
to
bddaa48
Compare
…afana#7453) (cherry picked from commit e0a7b28)
bddaa48
to
3aba37c
Compare
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. - ingester -0.5%
- distributor -0.4%
- querier -0.1%
- querier/queryrange -0.7%
+ iter 0%
+ storage 0.2%
+ chunkenc 0%
+ logql 1.7%
+ loki 0.5% |
Hello @trevorwhitney!
Please, if the current pull request addresses a bug fix, label it with the |
What this PR does / why we need it:
Manual backport of #7453 into release-2.7.x.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist
CONTRIBUTING.md
guideCHANGELOG.md
updateddocs/sources/upgrading/_index.md