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

JIRA Datacenter - Add Cluster lock status page which doesn't use locks


    • 27
    • 6
    • 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

      In some situations JIRA DC have stale/lost cluster lock. Normally you can check this by navigating to Cluster Locks check [ System > Support Tools > Instance health > Cluster Locks ]. Problem that JIRA Admin space (mentioned check is under that space) uses lock com.atlassian.jira.config.DefaultReindexMessageManager.messageLock, so if it's lost, than it's impossible to check the locks.

      Suggested Solution

      Create separate Cluster Status space which:

      • will not use any lock to access it
      • will show all current Cluster locks with following data:
        • Lock name - Node - Age
      • (Advanced) will be able to break/steal Cluster lock


      Check DB table clusterlockstatus:

      select * from clusterlockstatus where locked_by_node is not NULL;

            Unassigned Unassigned
            ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
            49 Vote for this issue
            33 Start watching this issue