[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1899) StatefulTreeCache uses wrong Fqn to "markNodeInUse"

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Aug 20 14:12:23 EDT 2009


StatefulTreeCache uses wrong Fqn to "markNodeInUse"
---------------------------------------------------

                 Key: EJBTHREE-1899
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1899
             Project: EJB 3.0
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 1.1.14
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


StatefulTreeCache.get() is passing the wrong Fqn to region.markNodeInUse:

         // Mark the Fqn telling the eviction thread not to passivate it yet.
         // Note the Fqn we use is relative to the region!
         region.markNodeCurrentlyInUse(new Fqn(key.toString()), MarkInUseWaitTime);

It should be

         // Mark the Fqn telling the eviction thread not to passivate it yet.
         // Note the Fqn we use is relative to the region!
         region.markNodeCurrentlyInUse(getFqn(id, true), MarkInUseWaitTime);

otherwise the extra "bucket" level in the Fqn is missing.

-- 
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