conductor icon indicating copy to clipboard operation
conductor copied to clipboard

Call execute in case JQ execution failed to start

Open v1r3n opened this issue 1 year ago • 0 comments

Pull Request type

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
  • [ ] WHOSUSING.md
  • [x] Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

System tasks that are executed synchronously, should have execute method implemented to start them if it failed previously.

We noticed that during unclean shutdown of the servers, at times JQ task could get terminated and remains in progress without completion.

This fix addresses that case and restarts the task, which should be safe to do since JQ is idempotent.

Describe the new behavior from this PR, and why it's needed Issue #

Alternatives considered

Describe alternative implementation you have considered

v1r3n avatar Dec 06 '22 22:12 v1r3n