Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6784

JobSandbox : reload crashed job maybe duplicate pending service

    Details

      Description

      When the JobPoller run reloadCrashedJobs() after an OFBiz restart, if you have a large service that crash that already replenish the pool receive a new run instant for it.

      Example: If you have a service like loadExternalOrder that run each hours. You stop your OFBiz during their activity and at restart you have :

      • job1 loadExternalOrder RUNINNG
      • job2 loadExternalOrder PENDING at t+1h (normal schedule)
      • job1.1 loadExternalOrder PENDING at t+1h (crashed schedule)

      I propose to exclude from the process reloadCrashedJobs() all jobs that have already a new scheduled instance

        Attachments

          Activity

            People

            • Assignee:
              soledad Nicolas Malin
              Reporter:
              soledad Nicolas Malin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: