cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9451) Startup message response for unsupported protocol versions is incorrect
Date Fri, 22 May 2015 19:52:17 GMT

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

Tyler Hobbs updated CASSANDRA-9451:
-----------------------------------
    Attachment: 9451.txt

The attached patch (and [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-9451])
fixes the handling of unsupported protocol versions and adds a unit test.

Pending cassci jobs:
* http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9451-dtest/
* http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9451-testall/

> Startup message response for unsupported protocol versions is incorrect
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-9451
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9451
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: OS X 10.9
> Cassandra 2.1.5 
>            Reporter: Jorge Bay
>            Assignee: Tyler Hobbs
>              Labels: client-impacting
>             Fix For: 2.1.x
>
>         Attachments: 9451.txt
>
>
> The response to a STARTUP request with protocol v4 on a C* 2.1 host is an error with
an incorrect error code (0). 
> Instead of the error code being "Protocol error" ({{0x000A}}) it has error code 0 and
message (wrapped by netty): 
> {{"io.netty.handler.codec.DecoderException: org.apache.cassandra.transport.ProtocolException:
Invalid or unsupported protocol version: 4"}}



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

Mime
View raw message