You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2012/11/08 12:21:12 UTC

[jira] [Resolved] (CASSANDRA-4719) binary protocol: when an invalid event type is watched via a REGISTER message, the response message does not have an associated stream id

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

Sylvain Lebresne resolved CASSANDRA-4719.
-----------------------------------------

    Resolution: Fixed

I've fixed that some times ago in a ninja-commit so closing this.
                
> binary protocol: when an invalid event type is watched via a REGISTER message, the response message does not have an associated stream id
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4719
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4719
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.0 beta 1
>            Reporter: paul cannon
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: binary_protocol
>             Fix For: 1.2.0
>
>
> I tried sending a REGISTER message with an eventlist including the string "STATUS_FOO", in order to test error handling in the python driver for that eventuality. But the response from the server (a "Server error" with a message of "java.lang.IllegalArgumentException: No enum const class org.apache.cassandra.transport.Event$Type.STATUS_FOO") had a stream_id of 0, so the driver was not able to associate it with the request.

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