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

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

    • 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.

      Problem Definition

      Follow-up from JRASERVER-62707 regarding CachedReferences

      Suggested Solution

      Add INFO logging event for cache reset 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 reset events for CachedReferences (same as for JRASERVER-62707):
      • 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

          Form Name

            [JRASERVER-66031] As an JIRA Administrator for JIRA Datacenter I want to log CachedReferences flush events

            from vfontes

            enabling debug for both com.atlassian.cache.event and net.sf.ehcache.distribution we can get:
            send node:

            2020-01-23 16:31:21,095 http-nio-8080-exec-25 INFO admin 1051x159x1 n40wc2 192.168.101.1 /secure/admin/AddIssueType.jspa [c.a.c.e.c.a.j.config.DefaultConstantsManager.issueTypeCache] Cache com.atlassian.jira.config.DefaultConstantsManager.issueTypeCache was flushed
            

            receiving node:

            2020-01-23 16:31:21,074 RMI TCP Connection(17)-192.168.101.131 DEBUG      [n.s.ehcache.distribution.RMICachePeer] RMICachePeer for cache com.atlassian.jira.config.DefaultConstantsManager.issueTypeCache: remote remove received for key: com.atlassian.cache.impl.ReferenceKey@0
            

            Andriy Yakovlev [Atlassian] added a comment - from vfontes enabling debug for both com.atlassian.cache.event and net.sf.ehcache.distribution we can get: send node: 2020-01-23 16:31:21,095 http-nio-8080-exec-25 INFO admin 1051x159x1 n40wc2 192.168.101.1 /secure/admin/AddIssueType.jspa [c.a.c.e.c.a.j.config.DefaultConstantsManager.issueTypeCache] Cache com.atlassian.jira.config.DefaultConstantsManager.issueTypeCache was flushed receiving node: 2020-01-23 16:31:21,074 RMI TCP Connection(17)-192.168.101.131 DEBUG [n.s.ehcache.distribution.RMICachePeer] RMICachePeer for cache com.atlassian.jira.config.DefaultConstantsManager.issueTypeCache: remote remove received for key: com.atlassian.cache.impl.ReferenceKey@0
            Andriy Yakovlev [Atlassian] made changes -
            Link New: This issue relates to JRASERVER-70298 [ JRASERVER-70298 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3054029 ] New: JAC Suggestion Workflow 3 [ 3683979 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2618157 ] New: JAC Suggestion Workflow [ 3054029 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: JIRA PM Feature Request Workflow v2 - TEMP [ 2588041 ] New: Confluence Workflow - Public Facing v4 [ 2618157 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - TEMP [ 2441694 ] New: JIRA PM Feature Request Workflow v2 - TEMP [ 2588041 ]
            Adam Jakubowski (Inactive) made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Gosia Kowalska made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 328548 ]
            Konrad Marszalek made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 322926 ]
            Brad Bressler made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 322783 ]

              izinoviev Ilya Zinoviev (Inactive)
              ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: