Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-725

subject api caching problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.0.4
    • 2.0.3
    • UI
    • None

    Description

      There was a subject search caching issue with the lite ui combobox which made it difficult for users to add people to groups. I changed the grouper.ehcache.xml config file so that the caching is not used (1 second), which fixes the problem. I will look through the code to find out why this occurs and what the real solution is. (Note, I dont know which subject searches/caches are affected yet, so to be safe I set all to 1, but it is at least FindPage)

      <!-- @see CachingResolver#find(...) -->
      <cache name="edu.internet2.middleware.grouper.subj.CachingResolver.Find"
      maxElementsInMemory="5000"
      eternal="false"
      timeToIdleSeconds="1"
      timeToLiveSeconds="1"
      overflowToDisk="false"
      />

      <!-- @see CachingResolver#findAll(...) -->
      <cache name="edu.internet2.middleware.grouper.subj.CachingResolver.FindAll"
      maxElementsInMemory="5000"
      eternal="false"
      timeToIdleSeconds="1"
      timeToLiveSeconds="1"
      overflowToDisk="false"
      />

      <!-- @see CachingResolver#findPage(...) -->
      <cache name="edu.internet2.middleware.grouper.subj.CachingResolver.FindPage"
      maxElementsInMemory="5000"
      eternal="false"
      timeToIdleSeconds="1"
      timeToLiveSeconds="1"
      overflowToDisk="false"
      />

      <!-- @see CachingResolver#findByIdentifier(...) -->
      <cache name="edu.internet2.middleware.grouper.subj.CachingResolver.FindByIdentifier"
      maxElementsInMemory="5000"
      eternal="false"
      timeToIdleSeconds="1"
      timeToLiveSeconds="1"
      overflowToDisk="false"
      />

      <!-- @see CachingResolver#findByIdOrIdentifier(...) -->
      <cache name="edu.internet2.middleware.grouper.subj.CachingResolver.FindByIdOrIdentifier"
      maxElementsInMemory="5000"
      eternal="false"
      timeToIdleSeconds="1"
      timeToLiveSeconds="1"
      overflowToDisk="false"
      />

      Thanks,
      Chris

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: