[CURATOR-650] Make InterProcessSemaphoreV2 revocable
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi. I use InterProcessSemaphoreV2 in my application and I need to revoke an acquired lease under certain conditions. Locks like InterProcessMutex support cooperative revocation by implementing Revocable interface. Can same be done for InterProcessSemaphoreV2?
Thank you
---
Originally reported by borisd, imported from: Make InterProcessSemaphoreV2 revocable
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating InterProcessSemaphoreV2 and the Revocable interface, then compare the revocation support in InterProcessMutex. Trace how an acquired lease is represented and identify the existing tests for both classes. Done means an acquired semaphore lease can be cooperatively revoked under the same model as the mutex, with tests covering that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100