conductor
conductor copied to clipboard
Call execute in case JQ execution failed to start
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