GitHub user markap14 opened a pull request:
https://github.com/apache/nifi/pull/510
NIFI-1984: Ensure that locks are always cleaned up by NaiveRevisionManager
Ensure that if an Exception is thrown by the 'Deletion Task' when calling
NaiveRevisionManager.deleteRevision() that the locking is appropriately cleaned
up.
Looking through the code, there do not appear to be any other places where
we invoke callbacks without handling appropriate with a try/finally or
try/catch block.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markap14/nifi NIFI-1984
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/510.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #510
----
commit 1d46b5431bf2eca0298d2f2fdc9854ef3f9fedfa
Author: Mark Payne <[email protected]>
Date: 2016-06-08T12:57:37Z
NIFI-1984: Ensure that if an Exception is thrown by the 'Deletion Task'
when calling NaiveRevisionManager.deleteRevision() that the locking is
appropriately cleaned up
----
---
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.
---