[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:36:00 EST 2017


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

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

Whatever the timeout being set or not, DMR requests are asynchronous. The running task is kept, ready to be canceled if Interrupt occurs.

> 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