cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McGuire (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-5481) CQLSH exception handling could leave a session in a bad state
Date Tue, 29 Jul 2014 17:46:52 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ryan McGuire reassigned CASSANDRA-5481:
---------------------------------------

    Assignee: Philip Thompson  (was: Ryan McGuire)

> CQLSH exception handling could leave a session in a bad state
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-5481
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5481
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.4
>         Environment: cqlsh 2.3.0 | Cassandra 1.2.4 | CQL spec 3.0.0 | Thrift protocol
19.35.0
>            Reporter: Jordan Pittier
>            Assignee: Philip Thompson
>            Priority: Minor
>         Attachments: 5481.diff, CQLSession.png
>
>
> Playing with CTRL+C in a cqlsh session can leave the (Thrift|Native) connection in a
bad state.
> To reproduce :
> 1) Run a long running COPY FROM command (COPY test (k, v) FROM '/tmp/test.csv')
> 2) Interrupt the importer with CTRL+C
> Repeat step 1 and 2 until you start seeing weird things in the cql shell (see attached
screenshot)
> The reason is, I believe, the connection (and the cursor) is not correclty closed and
reopened on interruption.
> I am working to propose a fix.
> Jordan



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message