[jboss-jira] [JBoss JIRA] Created: (JBAS-5819) Don't call expire when processing remote invalidation of clustered session
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Jul 31 09:57:26 EDT 2008
Don't call expire when processing remote invalidation of clustered session
--------------------------------------------------------------------------
Key: JBAS-5819
URL: https://jira.jboss.org/jira/browse/JBAS-5819
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Clustering, Web (Tomcat) service
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: JBossAS-5.0.0.CR2, JBossAS-4.2.4.GA
When JBC notifies JBossCacheManager that the root node for a session has been invalidated via a remote call, JBMC.processRemoteInvalidation() calls Session.expire on the local session (if there is one). The expire call includes flags that result in no notifications being sent to any listeners.
I don't see any point to this expire call if there are no notifications. The other work expire does is removing content from JBC, but the remote invalidation that triggers all this is already removing that content. Just drop the session from the local session map. Perhaps flag the session so if there is a concurrency/sticky-session problem and a local request thread is handling the session it knows the session is invalid.
--
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