You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "OleksiienkoMykyta (via GitHub)" <gi...@apache.org> on 2025/03/03 13:29:00 UTC
Re: [I] Bad Behaviour in New v1.2.0 Release? [cassandra-gocql-driver]
OleksiienkoMykyta commented on issue #1640:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1640#issuecomment-2694391250
I tried to reproduce it and got the error as expected. However, diving deep into this code I discovered that ClusterConfig is lacking a lot of configured options like NumCons, ReconnectionPolicy and so on. If we add NumCons to the config, then error never happens, but it panics because ReconnectionPolicy is nil. I think this is a good place to add some kind of validation as it is done in scylladb/gocql fork
https://github.com/scylladb/gocql/blob/597d7e3f74ebb11c401a18c26ff372b6694e7037/cluster.go#L396
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org