Github user jojovilco commented on the pull request:
https://github.com/apache/curator/pull/38#issuecomment-52509901
Wow, thanks a lot for pushing this forward!
I planed to put an enhancement into original path, but got stuck up with
other things.
In InterProcessMutext, I would love to have a (public / protected) method
which can returned a path to an actually owned lock znode (LockData.lockPath)
of a current thread. This would enable to build a pattern over a lock which
could guard for the case of lost lock and initiate an abort of currently
running task.
What do you think?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---