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

RFE: Decaying locks #2

Open
ananace opened this issue Apr 6, 2018 · 0 comments
Open

RFE: Decaying locks #2

ananace opened this issue Apr 6, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed priority/low

Comments

@ananace
Copy link

ananace commented Apr 6, 2018

One type of lock that would be useful would be a decaying lock, one where a lock automatically decays into an open state after - a specifiable - length of time, so that machines have to actively poll the lock in order to be allowed to keep it.

Additionally, as an extension on top of #1, having a decaying lock where only N machines are allowed to release the lock at the same time would be very useful when wanting to make sure that a cluster only allows a certain amount of machines to be unavailable at the same time - be it due to scheduled or unscheduled reasons.

@timogoebel timogoebel added enhancement New feature or request help wanted Extra attention is needed labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed priority/low
Projects
None yet
Development

No branches or pull requests

2 participants