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

[core] Add kill switch for dead plugin sets #686

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

Enet4
Copy link
Collaborator

@Enet4 Enet4 commented Mar 14, 2024

This implements a safety measure against misconfigured or malfunctioning plugins. If the JVM property dicoogle.deadPluginKillSwitch is set to true (case insensitive), any dead plugin will kill the Dicoogle process, thus requiring devops to investigate and fix the issues reported in the logs.

JVM property `dicoogle.deadPluginKillSwitch`.
If true, any dead plugin will kill the process
@bastiao
Copy link
Member

bastiao commented Mar 14, 2024

may be we can set as default behavior ?

@Enet4
Copy link
Collaborator Author

Enet4 commented Mar 14, 2024

may be we can set as default behavior ?

Can be done. I am just not sure how disruptive this change might be, since it could break an existing installation because of a plugin that we might not even care about. I say we test internally and draw our own conclusions.

@bastiao bastiao merged commit 471e530 into dev Apr 24, 2024
2 checks passed
@bastiao bastiao deleted the imp/core/dead-plugin-kill-switch branch April 24, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants