Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1902

Only in conditions of the running job stream should be considered

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.13.6
    • 1.13.7
    • Job Streams
    • None

    Description

      Current Situation
      The in condition of all job streams are considered when examining a running job stream instance. This will perform a lot of irrelevant checks for in conditions and therefore will downgrade the performance especially when many job streams with many jobs are configured.

      Another effect ist hat jobs will be started when they have expression with a jobstream assignment like aJobStream.myEvent each time any job stream is running.

      How To Reproduce

      • Create two Job Streams in the same folder (e.g. jobstream1 and jobstream2) with their Starters (e.g. starter1 and starter2)
      • Add jobs to them (e.g. job1 --> job2 on jobstream1) and (e.g. job3 on jobstream2)
      • Add an OutCondition on job2 (e.g. create event "event2")
      • Add an InCondition on job3 (e.g. "event2")
      • Start the Starter of jobstream1 (e.g. starter1)
      • You will find that job3 is also executing even if the starter2 is not started yet

      Desired Behavior

      • When examining a running job stream only in conditions that belongs to this job stream should be considered.

      Patch

      A patch is available

      Please download the .jar file and copy the file to $scheduler_home/patches/lib
      The patch also contains the patch for JS-1897. If you have installed this (patch_sos-jobstreams_JS-1897.1.13.6) , please remove this. Then restart JobScheduler.

      Attachments

        Activity

          People

            ur Uwe Risse
            Anuj-Mandloi Anuj Mandloi (Inactive)
            Anuj Mandloi Anuj Mandloi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: