Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1041

The same job can be executed on multiple cluster nodes sequentially

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.24.15, 2.26.05, 2.28.00
    • Labels:
      None
    • Similar issues:

      Description

      After a job is run the job's next fire time is calculated and updated, or if it was a one-time job it is deleted. In the former case, although the property is updated in the database, this information is not reflected in the index of other cluster nodes until the cluster node is synced. Although this happens every five seconds, there is a time window in which the index of other cluster nodes contains job information that is out of sync with the database. Unless the index is updated before the query to get the next pending jobs is executed the query result may contain jobs based on the previous value of the next fire time property. In short: a cluster sync must be forced immediately prior to querying for next pending jobs. And even then, the next fire time property must double-checked after the lock on the trigger has been acquired since it can still change until it is locked. This logic is currently absent resulting in the same job sometimes being executed on multiple cluster nodes.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              uhommes Unico Hommes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: