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
Do not transfer off chunks on ingester shutdown #10709
Conversation
The Write Ahead Log (WAL) supersedes the chunk transfer feature. Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
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.
LGTM
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.
@slim-bean Can you review?
Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
@salvacorts Can you please add a section in the upgrade notes what to do when you had the chunk transfer enabled (and no WAL)?
|
Backport be3ca9c from #10850 --- **What this PR does / why we need it**: In #10709, we removed `-ingester.max-transfer-retries` in favor of the WAL. Then, in #10844 we removed it from the config file but we did not remove it from the ingester args. This PR solves this by removing it. Co-authored-by: Salva Corts <salva.corts@grafana.com>
This PR removes the ability of an ingester in LEAVING state prior to shutdown to transfer chunks off to another ingester in the ring in PENDING state. The **Write Ahead Log** (WAL) supersedes the chunk transfer feature. See upgrade notes for information how to replace the removed setting. Signed-off-by: Christian Haudum <christian.haudum@gmail.com> Co-authored-by: Salva Corts <salva.corts@grafana.com>
**What this PR does / why we need it**: In grafana#10709, we removed `-ingester.max-transfer-retries` in favor of the WAL. Then, in grafana#10844 we removed it from the config file but we did not remove it from the ingester args. This PR solves this by removing it.
What this PR does / why we need it:
The Write Ahead Log (WAL) supersedes the chunk transfer feature.
Checklist
CONTRIBUTING.md
guide (required)CHANGELOG.md
updatedadd-to-release-notes
labeldocs/sources/setup/upgrade/_index.md
production/helm/loki/Chart.yaml
and updateproduction/helm/loki/CHANGELOG.md
andproduction/helm/loki/README.md
. Example PR