João Reis created CASSGO-99:
-------------------------------
Summary: Reconnection log messages after session.Close is called
Key: CASSGO-99
URL: https://issues.apache.org/jira/browse/CASSGO-99
Project: Apache Cassandra Go driver
Issue Type: Bug
Reporter: João Reis
I have a few tests on my app that do the following:
{code:java}
session, err := c.CreateSession()
require.Nil(t, err)
defer session.Close() {code}
session, err := c.CreateSession()
require.Nil(t, err)
defer session.Close()
// do test
2025/12/19 19:53:56 DBG gocql: Request failed because connection closed.
host_id=678e6a1d-e5b1-3cba-b949-7bfaf823957f addr=10.0.0.4
2025/12/19 19:53:56 WRN gocql: Pool failed to connect to host. Reconnecting
according to the reconnection policy. host=10.0.0.2
host_id=98a2cd7e-fa1b-3950-942e-42af495c4248 err=gocql: no response to
connection startup within timeout
reconnectionPolicy=*gocql.ConstantReconnectionPolicy
2025/12/19 19:54:14 DBG gocql: Pool failed to connect to host due to error.
host_addr=10.0.0.9 host_id=b4f6d9ed-0f1d-3f7a-82f1-a4a7ea4f84d4 err=error
connecting to Astra ingress 23.22.207.194:29042: dial tcp 23.22.207.194:29042:
operation was canceled
2025/12/19 19:54:14 WRN gocql: Connection pool filling failed.
host_addr=10.0.0.1 host_id=190dafab-6970-3a67-a21c-1226360de7dc err=error
connecting to Astra ingress 35.172.88.113:29042: dial tcp 35.172.88.113:29042:
operation was canceled
2025/12/19 19:54:14 WRN gocql: Node is DOWN. host_addr=10.0.0.7 port=29042
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]