Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2026

fix synchronization in SLACalculatorMemory.addJobStatus to avoid duplicated SLA message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None
    • None

    Description

      there is case where job generates start event by SLACalculatorMemory.addJobStatus, but before eventProcessed flag updated on DB side, SLA worker thread picks the action (SLACalculatorMemory.updateJobSla), end up sending duplicated messages. this patch is to fix synchronized block in addJobStatus to prevent this.

      Attachments

        1. OOZIE-2016.patch
          2 kB
          Ryota Egashira

        Activity

          People

            egashira Ryota Egashira
            egashira Ryota Egashira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: