apache / apache/cassandra-gocql-driver

gocql: no response received from cassandra within timeout perio

Open
#1,735 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
2.7k
Forks
658
PR merge metrics
No merged PRs in 30d

Description

I also have three Cassandra servers as a cluster. Sometimes, there may be timeout errors during write operations (writing simple string data), but the write has already been successful. At this time, reading again will also report a timeout, which is difficult to reproduce. The only thing I can know is that the read and write timeout is 2 seconds, which is very long for my program

_Originally posted by @ShowerBandV in https://github.com/gocql/gocql/issues/1282#issuecomment-1914252346_

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is identified. Start by reproducing the behavior with a three-server Cassandra cluster, simple string writes and reads, and two-second timeouts; inspect driver and Cassandra logs to determine whether the timeout follows a successful write. Done means the cause is identified and the behavior is covered by a reliable regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cassandra, go
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.