[
https://jira.jboss.org/browse/ISPN-664?page=com.atlassian.jira.plugin.sys...
]
Erik Salter commented on ISPN-664:
----------------------------------
This seems pretty trivial to add. What did you mean by your comment -- as in "should
the framework allow for this?" I think it should -- we need to know if the operation
succeeded or not, regardless of how the tx context is handled.
Acquiring a lock with flags FAIL_SILENTLY should report if the
operation succeeded
----------------------------------------------------------------------------------
Key: ISPN-664
URL:
https://jira.jboss.org/browse/ISPN-664
Project: Infinispan
Issue Type: Bug
Affects Versions: 4.2.0.ALPHA2
Reporter: Erik Salter
Assignee: Manik Surtani
Fix For: 4.2.0.BETA1
When trying to acquire a lock with the flag FAIL_SILENTLY, it doesn't roll back a
transaction, but it also doesn't throw an exception. Therefore, the caller
doesn't know if a lock acquisition succeeded or not.
The framework should have an operation to try and acquire a lock without rolling back any
active transactions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira