[ https://forge.continuent.org/jira/browse/SEQUOIA-961?page=all ]
Damian Arregui resolved SEQUOIA-961:
------------------------------------
Resolution: Fixed
Introduce a property to enable/disable the controller shutdown hook.
Property name is 'controller.enableShutdownHook' and it can be found in file
'controller_default.properties'.
> PATCH: Support for controller "safe shutdown" via
> Runtime.getRuntime().addShutdownHook()
> ----------------------------------------------------------------------------------------
>
> Key: SEQUOIA-961
> URL: https://forge.continuent.org/jira/browse/SEQUOIA-961
> Project: Sequoia
> Type: Improvement
> Components: Core
> Versions: Sequoia 3.0 beta3, Sequoia 3.0 beta2
> Reporter: Landon Fuller
> Assignee: Damian Arregui
> Priority: Minor
> Fix For: sequoia 2.10.10
> Attachments: patch-SIGINT
>
> Original Estimate: 0 minutes
> Remaining: 0 minutes
>
> To support safe administrator shutdown of Sequoia via the use of signals (eg,
> SIGINT via a FreeBSD rc.d init script), I added a simple Java shutdown hook
> that:
> 1) Shuts down all virtual databases using SHUTDOWN_SAFE
> 2) Calls controller.shutdown()
> This ensures that the controller can (almost) always be shut down cleanly,
> even in the administrative console is not available.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia