scylladb / python-driver

ScyllaDB Python Driver, originally DataStax Python Driver for Apache Cassandra
https://python-driver.docs.scylladb.com
Apache License 2.0
70 stars 42 forks source link

Protocol version warning? #316

Closed drawnwren closed 3 months ago

drawnwren commented 4 months ago

When connecting scylladb to our scylla cloud cluster using the copy and pasted example code from scylla cloud, I get the following warnings:

WARNING:cassandra.cluster:Downgrading core protocol version from 66 to 65 for xxxx:9042. To avoid this, it is best practice to explicitly set Cluster(protocol_version) to the version supported by your cluster. http://datastax.github.io/python-driver/api/cassandra/cluster.html#cassandra.cluster.Cluster.protocol_version 
mykaul commented 4 months ago

I believe it is benign and can be ignored. You may explicitly set version to 4.

mykaul commented 4 months ago

Also, see https://github.com/scylladb/python-driver/issues/244