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

Add delay that is 3 x heartbeat for scraping service in the config wa… #1663

Merged
merged 2 commits into from
Apr 29, 2022

Conversation

mattdurham
Copy link
Collaborator

PR Description

Add delay to prevent a race condition, it's using a hammer to fix something that could be more elegantly solved.

Which issue(s) this PR fixes

This hopefully explains it

https://gist.github.com/mattdurham/c15f27de17a6da97bf2e6a870991c7f2

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated

…tcher to ensure there isnt a race condition in a node being unhealthy but owning configs.
Copy link
Member

@tpaschalis tpaschalis left a comment

Choose a reason for hiding this comment

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

@mattdurham mattdurham merged commit 1c55d6c into main Apr 29, 2022
@mattdurham mattdurham deleted the heartbeat_racing branch April 29, 2022 15:37
captncraig pushed a commit that referenced this pull request May 2, 2022
#1663)

* Add delay that is 3 x heartbeat for scraping service in the config watcher to ensure there isnt a race condition in a node being unhealthy but owning configs.

* Trigger CI build
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 27, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants