cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7815) cqlsh: COPY FROM cannot be interrupted with ctrl-c
Date Thu, 21 Aug 2014 20:53:11 GMT

    [ 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)

Mime
View raw message