Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-64347

JIRA flushed cache licenseRoleGroups activeUsersCountForLicense and activeUsersCount the for each user login

XMLWordPrintable

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      For each user login event JIRA flushes number of cached: activeUsersCount, activeUsersCountForLicense, licenseRoleGroups

      Steps to Reproduce

      1. Enable cache-flush event logging
      2. Login to JIRA

      Expected Results

      No cache flush events

      Actual Results

      Caches are flushed. The below exception is thrown in the logs:

      2017-03-08 15:59:04,879 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.licenseRoleGroups] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.licenseRoleGroups was flushed. Stacktrace:
      2017-03-08 15:59:04,892 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense was flushed. Stacktrace:
      2017-03-08 15:59:04,896 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [user.util.UserUtilImpl.activeUsersCount] Cache com.atlassian.jira.user.util.UserUtilImpl.activeUsersCount was flushed. Stacktrace:
      2017-03-08 15:59:04,899 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.licenseRoleGroups] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.licenseRoleGroups was flushed. Stacktrace:
      2017-03-08 15:59:04,904 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense was flushed. Stacktrace:
      2017-03-08 15:59:04,905 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [user.util.UserUtilImpl.activeUsersCount] Cache com.atlassian.jira.user.util.UserUtilImpl.activeUsersCount was flushed. Stacktrace:
      2017-03-08 15:59:04,913 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.licenseRoleGroups] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.licenseRoleGroups was flushed. Stacktrace:
      2017-03-08 15:59:04,914 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense was flushed. Stacktrace:
      2017-03-08 15:59:04,915 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [user.util.UserUtilImpl.activeUsersCount] Cache com.atlassian.jira.user.util.UserUtilImpl.activeUsersCount was flushed. Stacktrace:
      2017-03-08 15:59:04,922 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.licenseRoleGroups] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.licenseRoleGroups was flushed. Stacktrace:
      2017-03-08 15:59:04,924 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense was flushed. Stacktrace:
      2017-03-08 15:59:04,925 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [user.util.UserUtilImpl.activeUsersCount] Cache com.atlassian.jira.user.util.UserUtilImpl.activeUsersCount was flushed. Stacktrace:
      2017-03-08 15:59:04,933 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.licenseRoleGroups] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.licenseRoleGroups was flushed. Stacktrace:
      2017-03-08 15:59:04,934 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense] Cache com.atlassian.jira.license.DefaultLicenseRoleManager.activeUsersCountForLicense was flushed. Stacktrace:
      2017-03-08 15:59:04,935 http-bio-8080-exec-8 INFO anonymous 959x1050x1 19iqhul 127.0.0.1 /login.jsp [user.util.UserUtilImpl.activeUsersCount] Cache com.atlassian.jira.user.util.UserUtilImpl.activeUsersCount was flushed. Stacktrace:
      

      Notes

      Those 3 caches a very important and required for almost any incoming http call.
      In JIRA 7 license count framework was changed and problem was fixed.

      Workaround

      If possible, reduce number of login events

              Unassigned Unassigned
              ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: