Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1435

unregistering leases for scheduled tasks not working in JPA backend

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 5.0
    • None

    Description

      The JPAThreadManagerImpl implementation of the unregisterLease() method is somehow not properly unregistering leases. When a lease is unregistered it is supposed to update the tasklock record in the database so that the timeLeased column is equal to the scheduled tasks interval, but in the JPA backend this is not happening properly and when a task is unregistered the timeLeased value is never updated.

      The end result is that tasks are not running at the proper intervals because they think something else still has a valid lease on the task.

      Attachments

        Activity

          People

            djohnson David Johnson
            agilliland Allen T. Gilliland IV
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: