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

Johannes Weißl edited comment on CASSANDRA-15230 at 7/16/19 9:16 PM:
---------------------------------------------------------------------

CC [~stefania_alborghetti] [~brandon.williams] [~iamaleksey]

Solution is to continue "select" on received EINTR. Python 3.5 does this 
automatically: 
[https://docs.python.org/3/whatsnew/3.5.html#pep-475-retry-system-calls-failing-with-eintr]

Patch in [https://github.com/weisslj/cassandra/commit/7e4857dd9b].


was (Author: weisslj):
CC [~stefania_alborghetti] [~brandon.williams] [~iamaleksey]

Solution is to continue "select" on received EINTR. Python 3.5 does this 
automatically: 
[https://docs.python.org/3/whatsnew/3.5.html#pep-475-retry-system-calls-failing-with-eintr]

Patch in 
[https://github.com/weisslj/cassandra/commit/94c1b3b5f8267d821fcf6711b26b34786f4aa49d].

> 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
>         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
(v7.6.14#76016)

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

Reply via email to