[jboss-jira] [JBoss JIRA] (WFCORE-2272) Ctrl-C sent on command taking long time doesn't cancel the current operation

Jean-Francois Denise (JIRA) issues at jboss.org
Thu Feb 9 07:34:00 EST 2017


    [ https://issues.jboss.org/browse/WFCORE-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13361082#comment-13361082 ] 

Jean-Francois Denise commented on WFCORE-2272:
----------------------------------------------

Implementation in private branch: https://github.com/jfdenise/wildfly-core/commit/396713ed65c51fb1fc9b46da4798828e9f069e20

> Ctrl-C sent on command taking long time doesn't cancel the current operation
> ----------------------------------------------------------------------------
>
>                 Key: WFCORE-2272
>                 URL: https://issues.jboss.org/browse/WFCORE-2272
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Jean-Francois Denise
>            Assignee: Jean-Francois Denise
>
> For example, during a deploy that takes time, a user types Ctrl-C, this does unlock the prompt and the command "seems" to have been interrupted. Actually the command thread has been interrupted but not the remoting task that is in progress. So although the user can think its command has been aborted, it is silently processing in background.
> When interruption occurs in a command thread, current remoting task should be canceled. This is what we are doing today when a timeout is set on a command.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list