[ 
https://issues.apache.org/jira/browse/KNOX-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Minder updated KNOX-522:
------------------------------
    Fix Version/s:     (was: 0.7.0)
                   Future

> Admin Service API for Stopping the Gateway
> ------------------------------------------
>
>                 Key: KNOX-522
>                 URL: https://issues.apache.org/jira/browse/KNOX-522
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Larry McCay
>             Fix For: Future
>
>
> We need to add a graceful way to shutdown the server that allows existing 
> requests to complete but doesn't accept to connections before it actually 
> stops.
> See the embedded Jetty APIs for setting the options:
>       server.setGracefulShutdown(millis);
>       server.setStopAtShutdown(true);
> The millis provided in the setGracefulShutdown indicates the graceperiod to 
> allow existing requests to complete before killing them.
> The setStopAtShutdown boolean enables or disables the grace period.
> This improvement will be useful in rolling upgrade scenarios where a number 
> of instances are running and we want to cycle one after another without 
> disrupting requests being processed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to