|
|
|
|
|
by Etheryte
1464 days ago
|
|
If I understood correctly, the problem you're describing is essentially the following. The locks have a timeout to them to avoid zombie locks etc. However this means we can have system A obtain a lock (or a lease, if you prefer) and begin a long-running process on the given resource. However, during the long-running process, the lock times out and system B can acquire a lock, thinking it's the only one using the resource, leading to a conflict. Did I understand you correctly? |
|
This implementation has "heartbeats" so I wonder whether it solves the problem.