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

fix: expireStaleLeases can't be singleton #1357

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

alecthomas
Copy link
Collaborator

Because a lease is required to run it, and if the lease is stale it will never be expired. This is a quick workaround by making the task parallel, but we should fix this probably by making the task use the hash ring.

Because a lease is required to run it, and if the lease is stale it will
never be expired. This is a quick workaround by making the task
parallel, but we should fix this probably by making the task use the
hash ring.
@alecthomas alecthomas requested a review from a team as a code owner April 29, 2024 23:07
@alecthomas alecthomas requested review from worstell and removed request for a team April 29, 2024 23:07
@alecthomas alecthomas mentioned this pull request Apr 29, 2024
@alecthomas alecthomas merged commit 87c5913 into main Apr 29, 2024
12 checks passed
@alecthomas alecthomas deleted the aat/expire-stale-leases-fix branch April 29, 2024 23:15
@worstell worstell added the approved Marks an already closed PR as approved label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Marks an already closed PR as approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants