You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "paul cannon (JIRA)" <ji...@apache.org> on 2012/09/25 22:26:08 UTC

[jira] [Created] (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

paul cannon created CASSANDRA-4719:
--------------------------------------

             Summary: 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
            Priority: Minor
             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

[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

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Assigned] (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

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne reassigned CASSANDRA-4719:
-------------------------------------------

    Assignee: Sylvain Lebresne
    
> 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