]
Paul Ferraro resolved EJBTHREE-2051.
------------------------------------
Assignee: Paul Ferraro
Resolution: Done
Prevent concurrent access to SFSB context on different nodes
------------------------------------------------------------
Key: EJBTHREE-2051
URL:
https://jira.jboss.org/browse/EJBTHREE-2051
Project: EJB 3.0
Issue Type: Task
Components: cache, Clustering
Reporter: Brian Stansberry
Assignee: Paul Ferraro
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.
-
For more information on JIRA, see: