Uploaded image for project: 'JBoss Cache'
  1. JBoss Cache
  2. JBCACHE-1133

Cache loading unnecessarily loads nodes

    Details

      Description

      The cache loader interceptor unnecessarily attempts to load child nodes when a parent has been evicted, even though the child node has not.

      Also unnecessarily loads nodes when keys are already in memory, just because the dataLoaded flag in UnversionedNode is true. (happens when put(Fqn, Map) does not trigger a load).

      See unit test org.jboss.cache.loader.UnnecessaryLoadingTest

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manik Manik Surtani
                Reporter:
                manik Manik Surtani
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: