Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-06-12 Thread via GitHub
joao-r-reis commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2966001038 If you're using domain names as contact points maybe the underlying IPs are changing and gocql is not updating them because it only resolves DNS once during sessi

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-06-11 Thread via GitHub
isopov commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2961777300 Note: I've tried reproducing it with ccm and could not do this. I believe this issue is somewhere in communication with k8s service. -- This is an automated message

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-30 Thread via GitHub
joao-r-reis commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2842277685 Are you able by chance to reproduce this by using a simpler approach with docker/docker-compose or ccm? I'm interested in trying to reproduce this but I don't hav

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-25 Thread via GitHub
isopov commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2829767207 What is common with this breakage on adding new cassandra node and restarting existing node is that I receive 101 errors `error gocql: connection closed waiting for re

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-25 Thread via GitHub
isopov commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2829706478 >Can you please checkout fixed version and see if you have this issue there. I used the version from your PR ``` replace github.com/gocql/gocql => github.co

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-24 Thread via GitHub
dkropachev commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2828918620 > I test errors during reads not during inserts. And it seems that I am doing a very similar thing: > > ``` > query = session.Query("select b from k8stest

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-24 Thread via GitHub
isopov commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2828769607 I test errors during reads not during inserts. And it seems that I am doing a very similar thing: ``` query = session.Query("select b from k8stest.test where a=?"

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-24 Thread via GitHub
dkropachev commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2828339577 Fix: https://github.com/apache/cassandra-gocql-driver/pull/1885 -- This is an automated message from the Apache Git Service. To respond to the message, please log

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-24 Thread via GitHub
dkropachev commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2828307732 It happens because attempts are storred on query struct, if you change your code from: ``` for i := 0; i <= workers; i++ { wg.Add(1)

Re: [I] Reconnecting node to cluster breaks gocql.Session [cassandra-gocql-driver]

2025-04-24 Thread via GitHub
isopov commented on issue #1884: URL: https://github.com/apache/cassandra-gocql-driver/issues/1884#issuecomment-2827775527 Similar test with java driver: ``` package io.github.isopov.cassandra; import com.datastax.oss.driver.api.core.CqlSession; import java.net.InetSocket