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

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

    XMLWordPrintable

    Details

    • UIS:
      4
    • Support reference count:
      6
    • Feedback Policy:
      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

              Assignee:
              Unassigned
              Reporter:
              ayakovlev@atlassian.com Andriy Yakovlev
              Votes:
              28 Vote for this issue
              Watchers:
              22 Start watching this issue

                Dates

                Created:
                Updated: