Skip to content
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

Add missing service terminations #9658

Merged
merged 3 commits into from
May 11, 2018

Conversation

sleshchenko
Copy link
Member

What does this PR do?

Add service terminations for CronThreadPull and ProbeScheduller.

Move removing of the temporary workspaces from @PreDestroy phase to WorkspaceTerminationService. It is needed to make sure that temporary workspaces will be stopped before removing.

Minor change: fix logging of errors which may occur during server status updating.

What issues does this PR fix or reference?

#9415

Release Notes

N/A

Docs PR

N/A

@sleshchenko sleshchenko added the kind/bug Outline of a bug - must adhere to the bug report template. label May 10, 2018
@sleshchenko sleshchenko self-assigned this May 10, 2018
@benoitf benoitf added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label May 10, 2018
* Terminates {@link ProbeScheduler}.
*
* @author Sergii Leshchenko
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Singleton ?

/**
* Terminates {@link ThreadPullLauncher}.
*
* @author Anton Korneta

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like authorship was unintentionally copied from another class

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's original authorship. I separated these changes from hot_update PR.

@sleshchenko
Copy link
Member Author

ci-test

@codenvy-ci
Copy link

ci-test build report:
Build details
Test report
selenium tests report data
docker image: eclipseche/che-server:9658
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@sleshchenko sleshchenko merged commit b497014 into eclipse-che:master May 11, 2018
@sleshchenko sleshchenko deleted the serviceTerminations branch May 11, 2018 07:21
@benoitf benoitf added this to the 6.6.0 milestone May 11, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants