[ 
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, 11:10 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 :(

Edit: I am fighting CI but so far:
 * 4.0 Branch is 
[here|https://github.com/bereng/cassandra/tree/CASSANDRA-15230-4.0] and CI 
[here|https://app.circleci.com/pipelines/github/bereng/cassandra?branch=CASSANDRA-15230-4.0&filter=all].
 * Trunk branch is 
[here|https://github.com/bereng/cassandra/tree/CASSANDRA-15230-trunk] and CI 
[here|https://app.circleci.com/pipelines/github/bereng/cassandra?branch=CASSANDRA-15230-trunk&filter=all]

With some of your & mine branches I think we have a complete solution?


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 :(

Edit: I am fighting CI but so far Branch is 
[here|https://github.com/bereng/cassandra/tree/CASSANDRA-15230-4.0] and CI 
[here|https://app.circleci.com/pipelines/github/bereng] which seems to work.

> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to