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

JIRA CaesiumSchedulerService can insert duplicated records into clusteredjob

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ayakovlev@atlassian.com Andriy Yakovlev
              • Votes:
                7 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated: