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

    XMLWordPrintable

Details

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

    Description

      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

      Workaround

      Check DB table clusterlockstatus:

      select * from clusterlockstatus where locked_by_node is not NULL;
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: