Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2393

Clearing cache event, even once, creates performance issues for Change Shared Entity Owner script

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.1.6
    • Fix Version/s: 5.4.45
    • Component/s: Built-in Scripts
    • Labels:
      None
    • Sprint:
      Sprint 34 - Ends Sept 25, Sprint 43
    • Critical Points:
      0.8

      Description

      The Change Dashboard or Filter Ownership script can sometimes cause performance issues in very large instances running JIRA DataCenter. This is because we publish a ClearCacheEvent in order to make sure that, after the Dashboard and/or filters have changed ownership. While this doesn't typically cause problems, it can create issues when multiplied out across multiple nodes, since cache replication can take quite a bit of time.

      We need to see if we can get by with PortalPageService#updatePortalPage and SearchRequestService#updateFilter; Atlassian recommends those to publishing a global clear cache event, and says we should submit a bug request if they aren't sufficient.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              merdmann Marcin Erdmann
              Reporter:
              jcarter Jonny Carter
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: