Job Scheduler

Locks for complete job chains

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Job Scheduler Binaries
  • Description:
    Hide

    Enable locks on job chain level:
    <job_chain>
    ...
    <lock.use lock="my_file" exclusive="no"/>
    </job_chain>

    There are (at least) 3 usecases for this feature:
    1) Prevent 2 job chains from running at the same time
    2) Prevent 2 orders from running in the same job chain at the same time (=no pipelining)
    3) Prevent a job chain and a (standalone) job from running at the same time

    This means:
    Before starting an order, the job chain checks if the required lock(s) is available. The job chain keeps the lock until:

    • The order leaves the job chain

    Even if the order is suspended or setback, the Job Chain still keeps the lock.

    Show
    Enable locks on job chain level: <job_chain> ... <lock.use lock="my_file" exclusive="no"/> </job_chain> There are (at least) 3 usecases for this feature: 1) Prevent 2 job chains from running at the same time 2) Prevent 2 orders from running in the same job chain at the same time (=no pipelining) 3) Prevent a job chain and a (standalone) job from running at the same time This means: Before starting an order, the job chain checks if the required lock(s) is available. The job chain keeps the lock until:
    • The order leaves the job chain
    Even if the order is suspended or setback, the Job Chain still keeps the lock.

Activity

Hide
Uwe Risse added a comment - 28 July 2011 16:39

Punkt 1) und 3) kann konfiguriert werden, indem der erste Job der Jobkette einen Lock bekommt. Punkt 2) ist mit max_orders gelöst.

Show
Uwe Risse added a comment - 28 July 2011 16:39 Punkt 1) und 3) kann konfiguriert werden, indem der erste Job der Jobkette einen Lock bekommt. Punkt 2) ist mit max_orders gelöst.

People

Dates

  • Created:
    11 December 2009 12:37
    Updated:
    28 July 2011 16:39

Time Tracking

Estimated:
2w 3d 1h 30m
Original Estimate - 2 weeks, 3 days, 1 hour, 30 minutes
Remaining:
2w 3d 1h 30m
Remaining Estimate - 2 weeks, 3 days, 1 hour, 30 minutes
Logged:
Not Specified
Time Spent - Not Specified