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

JIRA CaesiumSchedulerService can insert duplicated records into clusteredjob

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 7.3.6
    • Scheduled Tasks

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

      Summary

      In some cases JIRA CaesiumScheduler can create more then single record in clusteredjob table.
      This will lead to problems similar to one in JRASERVER-64325: method getJobDetails expects single uniq value from DB, while clusteredjob table does not ensure this.

      Steps to Reproduce

      1. TBD

      Expected Results

      Caesium ensures data integrity

      Actual Results

      CaesiumScheduler can create more then single record in clusteredjob table.

      Notes

      Problem is largely mitigated by implementing UNIQ index "clusteredjob_jobid_idx" (job_id) as part of JRASERVER-64325

      Workaround

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

                Created:
                Updated: