[jboss-jira] [JBoss JIRA] (WFCORE-1427) Add a timeout param to reload op and use it for "graceful reload"

Brian Stansberry (JIRA) issues at jboss.org
Thu Mar 3 20:10:00 EST 2016


     [ https://issues.jboss.org/browse/WFCORE-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-1427:
-------------------------------------
    Description: 
So instead of
{code}
:suspend(20)
:reload
{code}

It's just

{code}
:reload(20)
{code}

The high level 'reload' command in the CLI should take a --timeout param as well.

If doing the graceful suspend as part of server side ":reload" handling proves problematic (I haven't looked into it at all before filing this) then a simpler alternative is to only go with the --timeout param on the CLI reload command, and have the CLI implement the graceful behavior internally by first calling :suspend and then :reload. Web console could do the same thing.

  was:
So instead of
{code}
:suspend(20)
:reload
{code}

It's just

{code}
:reload(20)
{code}

The 'reload' command in the CLI should take a --timeout param as well.

If doing the graceful suspend as part of server side ":reload" handling proves problematic (I haven't looked into it at all before filing this) than a simpler alternative is to only go with the --timeout param on the CLI reload command, and have the CLI implement the graceful behavior internally by first calling suspend and then reload. Web console could do the same thing.



> Add a timeout param to reload op and use it for "graceful reload"
> -----------------------------------------------------------------
>
>                 Key: WFCORE-1427
>                 URL: https://issues.jboss.org/browse/WFCORE-1427
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: CLI, Domain Management
>            Reporter: Brian Stansberry
>
> So instead of
> {code}
> :suspend(20)
> :reload
> {code}
> It's just
> {code}
> :reload(20)
> {code}
> The high level 'reload' command in the CLI should take a --timeout param as well.
> If doing the graceful suspend as part of server side ":reload" handling proves problematic (I haven't looked into it at all before filing this) then a simpler alternative is to only go with the --timeout param on the CLI reload command, and have the CLI implement the graceful behavior internally by first calling :suspend and then :reload. Web console could do the same thing.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list