Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

acquiring same lock but with different stale should fail #30

Open
viveknarayan opened this issue Jul 17, 2018 · 1 comment
Open

acquiring same lock but with different stale should fail #30

viveknarayan opened this issue Jul 17, 2018 · 1 comment

Comments

@viveknarayan
Copy link

viveknarayan commented Jul 17, 2018

Example

  1. Lock (abc.lock) with stale = 10 seconds
  2. Wait 3 seconds
  3. Acquire the same Lock (abc.lock) with stale = 2 seconds

Expectation: Step 3 should fail
Actual: Step 3 passes (abc.lock is acquired)

Any solution for the above?

@aikar
Copy link

aikar commented Nov 2, 2019

This seems pretty logical to me. It is the requesters authority to determine what is stale or not.

I don't see this as an issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants