Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7116

Missed schedule runs when there are many concurrent schedules

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0, 3.5.1, 3.5.0
    • Fix Version/s: 4.0.0, 3.6.1, 3.5.2
    • Component/s: Workflow
    • Labels:
    • Release Notes:
      Fixed an issue so as to significantly reduce the chance of a schedule misfire in the case where the CPU cannot trigger a schedule within a certain time threshold.
    • Rank:
      1|hzy5tj:

      Description

      I have an app that has 300 workflows all on a 10 minute schedule. I've set scheduler.max.thread.pool.size to 300.

      When the schedules are supposed to trigger, I see that not all of the expected schedules are run. When I run:

      $ grep 'Schedule execute' /var/log/cdap/master.log | grep ' 09:0' | wc -l
      142

      which indicates only 142 of the 300 are run. When I modify my app to use fewer schedules, like 100 or 200, everything appears to work fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                ashau Albert Shau
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: