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

As an JIRA Administrator for JIRA Datacenter I want to log User cache flush events

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

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

      Problem Definition

      In JIRA Datacenter cache for Users and Group is a core for many functionality. Cache flush for them is vert expensive and lead to significant performance degradation of the whole cluster.

      Suggested Solution

      Add INFO logging event for each cache flush event and additional DEBUG logging with stackrace to track source the flush event.

      Implemented solution

      • In fixed JIRA version, there is a logging for cache flush events.
        2017-01-25 23:55:19,583 http-nio-8090-exec-1 INFO      [c.a.c.e.c.a.j.c.e.ofbiz.EagerOfBizUserCache.userCache] Cache com.atlassian.jira.crowd.embedded.ofbiz.EagerOfBizUserCache.userCache was flushed
        
      • Please note that this logging has no performance impact.
      • How to enable logging for cache flush events:
        1. Navigate to Cog Icon > System > Logging and profiling
        2. Find com.atlassian.cache.event and set it to INFO level

        1. upload.png
          upload.png
          1.37 MB

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

                Created:
                Updated:
                Resolved: