cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhaoYang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9289) Recover from unknown table when deserializing internode messages
Date Sun, 20 Nov 2016 16:51:58 GMT

    [ 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)

Mime
View raw message