[jboss-jira] [JBoss JIRA] Created: (JBWEB-96) ATTRIBUTE level replication granularity not replicating session metadata

Mike Van Noord (JIRA) jira-events at lists.jboss.org
Wed Dec 12 17:09:07 EST 2007


ATTRIBUTE level replication granularity not replicating session metadata
------------------------------------------------------------------------

                 Key: JBWEB-96
                 URL: http://jira.jboss.com/jira/browse/JBWEB-96
             Project: JBoss Web
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tomcat Module
         Environment: JBoss AS 4.2.1, replication-trigger: SET, replication-granularity: ATTRIBUTE
            Reporter: Mike Van Noord
         Assigned To: Mladen Turk


When setting attributes in a session and using ATTRIBUTE-level replication granularity and the SET replication trigger, I expect certain session meta-data to be replicated along with the attribute being set (namely last access time).  This isn't happening.

Since ClusteredSession only flags the metadata as dirty on access when the ACCESS replication trigger is used, the sessionMetadataDirty flag will only be set at the beginning and end of a session's lifecycle thereby preventing any metadata replication between those times. 

It seems appropriate to flag the metadata as dirty when using ATTRIBUTE-level replication whenever the replication trigger specifies, in this case when an attribute is set.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list