You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/08/12 20:26:48 UTC

[jira] [Issue Comment Deleted] (CASSANDRA-3569) Failure detector downs should not break streams

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

Jonathan Ellis updated CASSANDRA-3569:
--------------------------------------

    Comment: was deleted

(was: ----Reply above this line----

Your support ticket concerning '[jira] [Updated] (CASSANDRA-3569) Failure detector downs should not break streams'  can be viewed here: https://support.bluebox.net/tickets/CB64C3

The submission as we received it:

======================================


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

Yuki Morishita updated CASSANDRA-3569:
--------------------------------------

    Attachment: 3569-2.0.txt

Streaming 2.0 is designed to fail stream on FD as before, as well as on any socket exception.
FD works fine, though I think failing early (as user's desired keep alive configuration) is also favorable.

Right now, sockets used by streaming don't set keep alive. Why not just turn it on?

                

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

======================================

Your dedicated 24x7 Blue Box Support Team is actively working on your open issues. For urgent issues (system down, service outage) please use the "escalate ticket" function within your Box Panel customer portal. You may also phone Blue Box Support (1-800-613-4305 x 1) and mark your message as "Urgent".


Thank You,
The Blue Box Support Team
)
    
> Failure detector downs should not break streams
> -----------------------------------------------
>
>                 Key: CASSANDRA-3569
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3569
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Peter Schuller
>            Assignee: Peter Schuller
>         Attachments: 3569-2.0.txt
>
>
> CASSANDRA-2433 introduced this behavior just to get repairs to don't sit there waiting forever. In my opinion the correct fix to that problem is to use TCP keep alive. Unfortunately the TCP keep alive period is insanely high by default on a modern Linux, so just doing that is not entirely good either.
> But using the failure detector seems non-sensicle to me. We have a communication method which is the TCP transport, that we know is used for long-running processes that you don't want to incorrectly be killed for no good reason, and we are using a failure detector tuned to detecting when not to send real-time sensitive request to nodes in order to actively kill a working connection.
> So, rather than add complexity with protocol based ping/pongs and such, I propose that we simply just use TCP keep alive for streaming connections and instruct operators of production clusters to tweak net.ipv4.tcp_keepalive_{probes,intvl} as appropriate (or whatever equivalent on their OS).
> I can submit the patch. Awaiting opinions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira