Skip to content

If ingester.max-transfer-retries is set to 0, hand-over attempts are … #1777

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

Merged

Conversation

pstibrany
Copy link
Contributor

If -ingester.ingester.max-transfer-retries is set to 0, hand-over attempts are disabled.

Due to interaction with BackOffConfig.MaxRetries, zero value meant infinite number of attempts, which is hardly ever a desired behaviour (with no ingester waiting to accept a transfer, this would never end).

Fixed #1771.

…disabled.

Due to interaction with BackOffConfig.MaxRetries, zero value meant infinite number
of attempts, which is hardly ever a desired behaviour (with no ingester waiting to
accept a transfer, this would never end).

Fixed cortexproject#1771.

Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
@gouthamve gouthamve requested a review from jtlisi November 4, 2019 11:04
Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

Good job @pstibrany. I just left a couple of small comments.

Copy link
Contributor

@jtlisi jtlisi left a comment

Choose a reason for hiding this comment

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

LGTM

@gouthamve gouthamve merged commit 7e17b89 into cortexproject:master Nov 5, 2019
@gouthamve gouthamve deleted the 1771-fix-zero-transfer-retries branch November 5, 2019 01:07
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.

Using -ingester.ingester.max-transfer-retries with zero value ends with unexpected (?) result
5 participants