You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ZhaoYang (JIRA)" <ji...@apache.org> on 2016/11/20 16:51:58 UTC

[jira] [Commented] (CASSANDRA-9289) Recover from unknown table when deserializing internode messages

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

ZhaoYang commented on CASSANDRA-9289:
-------------------------------------

This fix is to wrap message in-stream with TrackedDataInputPlus, if caught UnknownCFException, skip the remaining bytes in this message. TCP won't be closed and it will remain connected for other messages.

patch for 3.10: https://github.com/jasonstack/cassandra/commits/CASSANDRA-9289

> Recover from unknown table when deserializing internode messages
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-9289
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9289
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Tyler Hobbs
>            Assignee: ZhaoYang
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.x
>
>
> As discussed in CASSANDRA-9136, it would be nice to gracefully recover from seeing an unknown table in a message from another node.  Currently, we close the connection and reconnect, which can cause other concurrent queries to fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)