Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1899

StatefulTreeCache uses wrong Fqn to "markNodeInUse"

XMLWordPrintable

      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.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: