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

Remove -store.fullsize-chunks option #2656

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Remove -store.fullsize-chunks option #2656

merged 1 commit into from
Jun 22, 2020

Conversation

bboreham
Copy link
Contributor

It broke ingester hand-overs, and is not needed now we use BigChunk.

Fixes #1163

Checklist

  • Tests updated
  • Documentation added N/A
  • CHANGELOG.md updated

@bboreham bboreham requested a review from gouthamve May 29, 2020 11:17
@@ -15,15 +15,13 @@ type Config struct{}

var (
// DefaultEncoding exported for use in unit tests elsewhere
DefaultEncoding = Bigchunk
alwaysMarshalFullsizeChunks = true
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you saying it was unused? Being the default true doesn't it mean it's always used unless explicitly disabled via CLI flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it was written this way to avoid changing things for existing users.
I mean the option to disable was never used.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

However I got the change wrong.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, then we need to remove the flag while always keeping it enabled ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Try now.

@bboreham bboreham force-pushed the remove-fullsize-flag branch from c23ce13 to 4a00949 Compare May 29, 2020 15:06
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM!

CHANGELOG.md Outdated
@@ -4,6 +4,7 @@

* [CHANGE] Query Frontend now uses Round Robin to choose a tenant queue to service next. #2553
* [CHANGE] `-promql.lookback-delta` is now deprecated and has been replaced by `-querier.lookback-delta` along with `lookback_delta` entry under `querier` in the config file. `-promql.lookback-delta` will be removed in v1.4.0. #2604
* [CHANGE] Removed `-store.fullsize-chunks` option which was undocumented and unused (it broke ingester hand-overs).
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind adding the PR number at the end of the line? The release script we use look for PRs missing in the CHANGELOG (for manual check) and does the check based on the PR number here.

Copy link
Contributor

@gouthamve gouthamve left a comment

Choose a reason for hiding this comment

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

LGTM but needs rebasing and DCO.

@bboreham bboreham force-pushed the remove-fullsize-flag branch from f1f926b to 856112c Compare June 5, 2020 14:21
It broke ingester hand-overs, and is not needed now we use BigChunk.

I left in the code which allows non-full-size chunks to be read in:
maybe someone has some in a database.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
@bboreham bboreham force-pushed the remove-fullsize-flag branch from 856112c to 77f5a1d Compare June 22, 2020 16:23
@bboreham bboreham merged commit 54c4a64 into master Jun 22, 2020
@bboreham bboreham deleted the remove-fullsize-flag branch June 22, 2020 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

-store.fullsize-chunks=false breaks ingester hand-overs
3 participants