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

Tyler Hobbs commented on CASSANDRA-10142:
-----------------------------------------

The driver should be forcing protocol_version to 3 or higher when decoding the 
contents of FrozenType data: 
https://github.com/datastax/python-driver/blob/master/cassandra/cqltypes.py#L979-L991.
  It already does something similar for tuples, UDTs, and nested collections: 
https://github.com/datastax/python-driver/blob/master/cassandra/cqltypes.py#L788.

cc [~aholmber]

> Driver cannot connect with protocol version < 3
> -----------------------------------------------
>
>                 Key: CASSANDRA-10142
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10142
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jim Witschey
>            Assignee: Blake Eggleston
>             Fix For: 3.0 beta 1
>
>         Attachments: repro.sh
>
>
> When trying to connect with the Python driver to a cluster running trunk, the 
> connection fails with a {{NoHostAvailable}} exception if the protocol version 
> is set to 1 or 2.
> The attached script reproduces the error and demonstrates that the connection 
> works if the protocol version is 3 or 4. 



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

Reply via email to