Recover Workflow GC Logic#1181
Merged
junkaixue merged 13 commits intoapache:task-improvementfrom Jul 29, 2020
Merged
Conversation
added 12 commits
July 27, 2020 13:50
alirezazamani
requested changes
Jul 28, 2020
helix-core/src/test/java/org/apache/helix/integration/task/TestJobQueueCleanUp.java
Outdated
Show resolved
Hide resolved
helix-core/src/test/java/org/apache/helix/integration/task/TestJobQueueCleanUp.java
Outdated
Show resolved
Hide resolved
alirezazamani
approved these changes
Jul 29, 2020
Contributor
Author
|
This PR is ready to be merged, approved by @alirezazamani Recover Workflow Garbage Collection LogicRecover Workflow Garbage Collection Logic |
alirezazamani
pushed a commit
to alirezazamani/helix
that referenced
this pull request
Jul 29, 2020
Recover Workflow Garbage Collection Logic Recover Workflow Garbage Collection Logic
alirezazamani
pushed a commit
to alirezazamani/helix
that referenced
this pull request
Aug 4, 2020
Recover Workflow Garbage Collection Logic Recover Workflow Garbage Collection Logic
junkaixue
pushed a commit
that referenced
this pull request
Aug 4, 2020
Recover Workflow Garbage Collection Logic Recover Workflow Garbage Collection Logic
junkaixue
pushed a commit
to junkaixue/helix
that referenced
this pull request
Aug 11, 2020
Recover Workflow Garbage Collection Logic Recover Workflow Garbage Collection Logic
huizhilu
pushed a commit
to huizhilu/helix
that referenced
this pull request
Aug 16, 2020
Recover Workflow Garbage Collection Logic Recover Workflow Garbage Collection Logic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues
Fixes #1075
Description
Previously, the workflow garbage collection logic was removed in fear of race conditions (PR: #803 ). As we see value in bringing back workflow garbage collection, we are getting rid of the race conditions and bringing back the logic.
Specifically, two items need to be completed:
Tests
testGetExpiredJobsFromCache, testWorkflowContextGarbageCollection(recovered from old PR), testWorkflowGarbageCollection
Rerun
Commits
Code Quality
(helix-style-intellij.xml if IntelliJ IDE is used)