[infinispan-issues] [JBoss JIRA] (ISPN-4274) Calling Advanced.Cache.lock with SKIP_LOCKING flag reports it locked the entry

William Burns (JIRA) issues at jboss.org
Fri May 9 12:33:56 EDT 2014


William Burns created ISPN-4274:
-----------------------------------

             Summary: Calling Advanced.Cache.lock with SKIP_LOCKING flag reports it locked the entry
                 Key: ISPN-4274
                 URL: https://issues.jboss.org/browse/ISPN-4274
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 6.0.2.Final
            Reporter: William Burns
            Assignee: Dan Berindei


Currently when SKIP_LOCKING is used as a flag on the cache and the lock command is called it will not acquire the lock for the given keys no matter what.  However the command still returns true even though it hasn't acquired the lock.  We should probably throw some kind of exception or change the API documentation regarding the lock method.

https://github.com/infinispan/infinispan/pull/2484#discussion_r12478627



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list