Make PeriodicJob aware of cancelation at global shutdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.2.7, 4.4.0-rc2, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2, v4.0
    • Service arch 2020-04-20, Service arch 2020-05-04
    • 7
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Starting a PeriodicJob that is not in the NOT_SCHEDULED state causes an invariant failure (see here). However, a PeriodicJob might get stopped before it's even started if its process receives a kill signals before it has fully initialized. To tolerate such scenarios, PeriodicJob should check if shutdown is in progress and quick return before checking the invariant.

              Assignee:
              Amirsaman Memaripour
              Reporter:
              Amirsaman Memaripour
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: