You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Stepura (JIRA)" <ji...@apache.org> on 2014/08/21 22:53:11 UTC
[jira] [Commented] (CASSANDRA-7815) cqlsh: COPY FROM cannot be
interrupted with ctrl-c
[ https://issues.apache.org/jira/browse/CASSANDRA-7815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105942#comment-14105942 ]
Mikhail Stepura commented on CASSANDRA-7815:
--------------------------------------------
I believe we should add {{self._task_counter.await()}} after {{sys.stdout.write('Aborting due to keyboard interrupt\n')}}. Setting the signal doesn't mean all the task are completed immediately, so we have to wait until all of them are done, and only then return
> cqlsh: COPY FROM cannot be interrupted with ctrl-c
> --------------------------------------------------
>
> Key: CASSANDRA-7815
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7815
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Priority: Minor
> Fix For: 2.1.1
>
> Attachments: 7815.txt
>
>
> The changes in CASSANDRA-7405 caused the import process to not be interruptable with ctrl-c.
--
This message was sent by Atlassian JIRA
(v6.2#6252)