• BAIRE Anthony's avatar
    make db state changes atomic on job start & job destroy · 4b3c478b
    BAIRE Anthony authored
    The controller and django can both change the job state, especially when
    it is in the WAITING state (django may delete the job and the controller
    may start the job).
    
    To prevent any inconsistency, we must ensure that these transitions are
    made atomically.
    4b3c478b
controller.py 74.8 KB