Chris Bannister
Chris Bannister
Can you provide a small example which shows the problem?
Can you build with the `gocql_debug` tag and provide the logs of the hosts being discovered? Cassandra should notify the driver the node went down, then another one came up.
I think whats going on here is your cassandra cluster has stale nodes in gossip. Gocql will get an node up event, then refresh the ring which returns the down...
This would be useful, what would you think the interface would look like? We could just expose it via https://godoc.org/github.com/gocql/gocql#HostStateNotifier which would be ran concurrently after the session deals with...
The issue arises from the fact that the driver wont know how to serialise your types into the columns Cassandra expects without preparing, all prepare really does is cache the...
Not sure what would cause that, I would suggest profiling both cases on the Go side and then if they look comparable allocation / cpu usage time then check Cassandra....
That looks odd, can you provide a small test case?
We can reimplement the methods and use an atomic value to still remove the lock and deprecate the methods On Sun, 7 Apr 2019 at 10:52 am, Alex Lourie wrote:...
It should be periodically try to dial nodes that are down, if you can reproduce and build with `gocql_debug` you should see more info about the pool state. Also if...
Running a single node of Cassandra (on mac so excuse lack of iptables), able to query host as expected when its running. Kill -9 the process, gocql receives no host...