Skip to content

Astra connection reset whenever cluster moved from shared to dedicated and/or vice versa #18

@StevenLacerda

Description

@StevenLacerda

I have a small application that's writing to Astra and then I'm moving from shared to dedicated and/or dedicated to shared:

Release version: 4.0.0.6816
Starting insertData
Inserting partition number 0
2024/02/05 09:02:01 Insert failed: read tcp 192.168.4.111:59964->54.159.134.169:29042: read: connection reset by peer
2024/02/05 09:02:01 Insert failed: read tcp 192.168.4.111:60015->54.159.134.169:29042: read: connection reset by peer
2024/02/05 09:02:01 Insert failed: read tcp 192.168.4.111:60017->54.159.134.169:29042: read: connection reset by peer
2024/02/05 09:02:01 Insert failed: read tcp 192.168.4.111:60016->54.159.134.169:29042: read: connection reset by peer
2024/02/05 09:02:01 Insert failed: read tcp 192.168.4.111:60018->107.21.121.178:29042: read: connection reset by peer
2024/02/05 09:02:01 Insert failed: gocql: no hosts available in the pool
2024/02/05 09:02:01 Insert failed: gocql: no hosts available in the pool
2024/02/05 09:02:01 Insert failed: gocql: no hosts available in the pool

I get that no hosts available for a long time, and then ultimately:

2024/02/05 09:02:05 gocql: unable to dial control conn 10.0.83.89:29042: EOF
2024/02/05 09:02:05 error: failed to connect to "[HostInfo hostname=\"\" connectAddress=\"10.0.83.89\" peer=\"<nil>\" rpc_address=\"10.0.83.89\" broadcast_address=\"10.0.83.89\" preferred_ip=\"<nil>\" connect_addr=\"10.0.83.89\" connect_addr_source=\"connect_address\" port=29042 data_centre=\"us-east-1\" rack=\"rack2\" host_id=\"e85b2609-8387-4c01-913a-982f808b22dd\" version=\"v4.0.0\" state=UP num_tokens=8]" due to error: EOF

My db is:

68725d86-3dee-401b-8d00-f2f13d1a8266

disconnected.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions