Eager locking a single node should only acquire a single lock
-------------------------------------------------------------
Key: ISPN-715
URL:
https://jira.jboss.org/browse/ISPN-715
Project: Infinispan
Issue Type: Feature Request
Reporter: Erik Salter
Assignee: Manik Surtani
The new eager/explicit lock for a single node feature in 4.2.0 can be further optimized.
Right now, a local lock and a lock on the node where the key is hashed is acquired. To
increase throughput and minimize deadlock occurrences, we should only acquire the one lock
(on the node).
(Obviously, if the key is hashed to the local node, the local lock and the node lock are
one in the same).
--
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