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

Clustered job may run on more than one node if execution time is longer then interval.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.2.9, 7.4.1
    • Data Center - Other

    Description

      Summary

      Clustered job may run on more than one node if execution time is longer then interval.

      For example:

      • Job configured as interval job with 1 min interval, job is a 3-minute-thread-sleep.
      • Job will scheduled at node1
      • And than 1 min later at node2 while still running on node1

      Environment

      • JIRA datacenter

      Steps to Reproduce

      1. Schedule the long interval Job (see above)
      2. Wait and monitor the jobs status

      Expected Results

      Only single job is executed across the cluster.

      Actual Results

      Two instances of the job will be running in the cluster.

      Workaround

      Implement cluster lock at Job level. See details: Plugin guide to jira high-availability and clustering

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: