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

Database connectivity issue causes scheduled jobs to break

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Triage (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 7.1.8, 7.1.9, Archived Jira Cloud, 8.2.4, 8.3.4, 8.5.1, 8.5.4
    • Fix Version/s: None
    • Component/s: Scheduled Tasks
    • Labels:

      Description

      *******This Bug was recently observed in Jira Server 8.5.4 version******

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      Scheduled Jobs can be lost track when a database operation fails at the moment the job is claimed by the Scheduler.

      This only affects a single-node setup in Server, as in JIRA Data Center the "recovery" job will bring back to memory the lost jobs.

      Environment

      • JIRA Server (Single Node - Non Data Center)
      • JIRA Cloud.

      Steps to Reproduce

      1. Schedule a Job.
      2. Introduce a breakpoint at CaesiumSchedulerService.executeClusteredJob
      3. Interrupt database connectivity.

      Actual Results

      1. JIRA will lose track of the job until a restart is performed.

      Expected Results.

      1. JIRA will run the job under its schedule as soon database connectivity is resumed

      Notes

      This is the root caused behind the issue reported at JSD-3653 but could affect any scheduled job in JIRA.

      Workaround

      Restart JIRA.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              Reporter:
              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              45 Start watching this issue

                Dates

                Created:
                Updated: