You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2022/01/11 09:27:00 UTC

[jira] [Comment Edited] (CASSANDRA-15230) Resizing window aborts cqlsh COPY: Interrupted system call

    [ https://issues.apache.org/jira/browse/CASSANDRA-15230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472594#comment-17472594 ] 

Berenguer Blasi edited comment on CASSANDRA-15230 at 1/11/22, 9:26 AM:
-----------------------------------------------------------------------

[~brandon.williams] you need to change

_readable, _, _ = select.select(self._readers, [], [], timeout)_

for

_readable, _, _ = select(self._readers, [], [], timeout)_

4.0 onward for it to work. I managed to repro/fix it locally that way. I was about to push and trigger CI but circle is not collaborating with me today so I will have to leave it to you unfortunately :(

Branch is [here|https://github.com/bereng/cassandra/tree/CASSANDRA-15230-4.0]


was (Author: bereng):
[~brandon.williams] you need to change

_readable, _, _ = select.select(self._readers, [], [], timeout)_

for

_readable, _, _ = select(self._readers, [], [], timeout)_

4.0 onward for it to work. I managed to repro/fix it locally that way. I was about to push and trigger CI but circle is not collaborating with me today so I will have to leave it to you unfortunately :(

> Resizing window aborts cqlsh COPY: Interrupted system call
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-15230
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15230
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/cqlsh
>            Reporter: Johannes Weißl
>            Assignee: Johannes Weißl
>            Priority: Normal
>             Fix For: 3.0.x, 3.11.x, 4.0.x
>
>         Attachments: 15230-2.1.txt
>
>
> When resizing a terminal window running cqlsh COPY, the Python program aborts immediately with:
> {{<stdin>:1:(4, 'Interrupted system call')}}
> This is very annoying, as COPY commands usually run for a long time, and e.g re-attaching to a screen session with a different terminal size aborts the command. This bug affects versions 2.1, 2.2, 3.0, 3.x, and trunk.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org