[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2055) Prevent concurrent access to HttpSession on different nodes
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Mar 23 00:29:37 EDT 2010
Prevent concurrent access to HttpSession on different nodes
-----------------------------------------------------------
Key: EJBTHREE-2055
URL: https://jira.jboss.org/jira/browse/EJBTHREE-2055
Project: EJB 3.0
Issue Type: Task
Components: cache, Clustering
Reporter: Brian Stansberry
Require a node's cache to take "ownership" of an SFSB context before returning it.
A cache that creates the SFSB context can take ownership without any cluster-wide message.
A cache that has taken ownership can lock it during subsequent requests. Doing this does not require any cluster-wide message.
A cache that doesn't have ownership of an SFSB context must request ownership via a cluster-wide message. This will be granted, but not until any concurrently executing requests on the owning node have completed.
If the node owning the session does not respond to the request to give up ownership (e.g. it has crashed) ownership is acquired.
Code for this locking function exists in AS; needs to be extracted out into ha-server-api (JBCLUSTER-223)
The same concept will be applied to web sessions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list