Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Call execute in case JQ execution failed to start#3375

Merged
v1r3n merged 3 commits intoNetflix:mainfrom
v1r3n:jq_execute_method
Mar 13, 2023
Merged

Call execute in case JQ execution failed to start#3375
v1r3n merged 3 commits intoNetflix:mainfrom
v1r3n:jq_execute_method

Conversation

@v1r3n
Copy link
Contributor

@v1r3n v1r3n commented Dec 6, 2022

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
  • 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

@github-actions
Copy link
Contributor

This PR is stale, because it has been open for 45 days with no activity. Remove the stale label or comment, or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jan 21, 2023
@apanicker-nflx
Copy link
Collaborator

Please fix build errors and we should be good to merge

@v1r3n
Copy link
Contributor Author

v1r3n commented Mar 4, 2023

Please fix build errors and we should be good to merge

done.

@v1r3n v1r3n merged commit 1e515a6 into Netflix:main Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants