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

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.1.6
    • 5.4.45
    • Built-in Scripts
    • None
    • Sprint 34 - Ends Sept 25, Sprint 43
    • 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

              merdmann Marcin Erdmann [X] (Inactive)
              jcarter Jonny Carter
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: