Dashboard is slow to display with nested groups and LDAP

XMLWordPrintable

      The dashboard can be extremely slow to render if nested groups are enabled with an LDAP repository. It needs to be improved so that it works almost as quickly as when nested groups are not used.

      This issue only affects Confluence 3.5 - 3.5.4. It is resolved in Confluence 3.5.5

      Patch

      For Confluence 3.5 - 3.5.4, customers can apply the following patch. Attached is CONF-22414-patch-3.zip, a patch for improving caching for all permission checks involving nested groups. This patch supersedes any previous patch for the same issue.

      Contents

      The patch contains 26 files in 6 directories as follows:

      • confluence/WEB-INF/classes
        • embeddedCrowdContext.xml
        • com/atlassian/confluence/core
          • ConfluenceActionSupport.properties
        • com/atlassian/confluence/search/lucene/filter
          • 4x HibernateSpacePermissionsFilterDao classes
        • com/atlassian/confluence/space/persistence/dao/hibernate
          • HibernateSpacesQueryBuilder.class
        • com/atlassian/confluence/user
          • DefaultUserAccessor.class
          • UserAccessor.class
        • com/atlassian/confluence/user/crowd
          • 3x CachedCrowdGroupDao classes
          • CachedCrowdInternalMembershipDao.class
          • 2x CachedCrowdMembershipCacheKey classes
          • CachedCrowdMembershipDao.class
          • 3x CachedCrowdUserDao classes
          • 2x DefaultGroupMembershipCache classes
          • DefaultMembershipCache.class
          • GroupMembershipCache.class
          • MembershipCache.class
          • 2x NameUtils classes

      Installation

      To install the patch:

      1. Stop Confluence
      2. Extract the zip to your <confluence install dir>. If prompted, overwrite existing files. If you have any existing patch for any of these classes, this will overwrite them.
      3. Start Confluence

              Assignee:
              Richard Atkins
              Reporter:
              Richard Atkins
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: