-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage active Task Map #112
Milestone
Comments
sabbyanandan
added
area/tests
Belongs to tests
ready
and removed
area/tests
Belongs to tests
labels
Apr 24, 2018
What qualifies a Task as |
tzolov
added a commit
to tzolov/spring-cloud-deployer-local
that referenced
this issue
Jul 11, 2018
Resolves spring-cloud#112 This solution aim to clean the history of repeatedly executed tasks. Only the last launched Task instance is kept in the running map. - Track the previous task-launch instance for the any given Task (identified by the Task Name) - On new Task launch event, find all previous task instances for the Task being launched. - Found instances in non-running and non-launching state are removed from the running and the tracking maps.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A cleanup routine would be in place to make sure the Task PIDs in the
running
Map doesn't grow indefinitely.Following two items are out of scope for this issue.
We would have a separate thread to double check whether the PID is still alive; if not, we will remove it from the Map.Also, when a cleanup/destroy routine is invoked from SCDF, we will make sure to cleanup the PID from running Map. This is already in place for Streams; we would implement it for Tasks now.The text was updated successfully, but these errors were encountered: