ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Popov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6835) ODBC driver should handle ungraceful tcp disconnects
Date Thu, 09 Nov 2017 13:00:00 GMT

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

Alexey Popov commented on IGNITE-6835:
--------------------------------------

[~isapego] Please review the changes.
1. Set Socket options added to win & linux code
2. Set socket does not cause failure, just a log output
3. Send & receive buffer size is set to 64k

> ODBC driver should handle ungraceful tcp disconnects
> ----------------------------------------------------
>
>                 Key: IGNITE-6835
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6835
>             Project: Ignite
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: odbc
>    Affects Versions: 2.1
>            Reporter: Alexey Popov
>            Assignee: Alexey Popov
>
> It is found that ungraceful TCP disconnect makes ODBC driver stuck at socket recv().
> Ungraceful TCP disconnect could be caused:
> 1. Network failure (or new firewall rules)
> 2. Remote party shutdown (Half Closed Connection)
> So, the proposal is:
> setup socket  options: 
> 1) SO_KEEPALIVE enabled
> 2) TCP_KEEPIDLE to 60 sec. It is 2 hour by default
> 3) TCP_KEEPINTVL to 5 (\?) sec. It is 1 sec at Win and 75 sec at Linux by default.
> 4) send/receive buffers to some greater value (8k by default)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message