Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting --connect-timeout when using public addresses can take more than 3mins #32

Open
fruch opened this issue Apr 24, 2023 · 0 comments

Comments

@fruch
Copy link
Collaborator

fruch commented Apr 24, 2023

🟢 ❯ cqlsh --no-color   --request-timeout=120 --connect-timeout=60  -e "select JSON host_id,broadcast_address from system.local ;" 172.190.112.43 9042

 [json]
--------------------------------------------------------------------------------------------
 {"host_id": "775a4a52-7c7d-44d5-a468-fd9689942598", "broadcast_address": "172.190.112.43"}

(1 rows)

cassandra on  master [✓] 🐍 took 3m3s
@mykaul mykaul changed the title Setting --connect-timeout when using public addresses can take more then 3mins Setting --connect-timeout when using public addresses can take more than 3mins Apr 24, 2023
fruch added a commit to fruch/scylla-cluster-tests that referenced this issue Apr 24, 2023
Since the recent switch to newer cqlsh, seems like
we are having cases of shutdown of the python-driver
takes more then we are used to, and on cases it
was up to 3min, enlarging the timeout for all
cqlsh commands to workaround the issue.

Ref: scylladb/scylla-cqlsh#32
fruch added a commit to scylladb/scylla-cluster-tests that referenced this issue Apr 24, 2023
Since the recent switch to newer cqlsh, seems like
we are having cases of shutdown of the python-driver
takes more then we are used to, and on cases it
was up to 3min, enlarging the timeout for all
cqlsh commands to workaround the issue.

Ref: scylladb/scylla-cqlsh#32
fgelcer pushed a commit to scylladb/scylla-cluster-tests that referenced this issue May 18, 2023
Since the recent switch to newer cqlsh, seems like
we are having cases of shutdown of the python-driver
takes more then we are used to, and on cases it
was up to 3min, enlarging the timeout for all
cqlsh commands to workaround the issue.

Ref: scylladb/scylla-cqlsh#32
(cherry picked from commit 2811e9f)
fgelcer pushed a commit to scylladb/scylla-cluster-tests that referenced this issue May 18, 2023
Since the recent switch to newer cqlsh, seems like
we are having cases of shutdown of the python-driver
takes more then we are used to, and on cases it
was up to 3min, enlarging the timeout for all
cqlsh commands to workaround the issue.

Ref: scylladb/scylla-cqlsh#32
(cherry picked from commit 2811e9f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant