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

Make blocking set keyspace query to fail by timeout #362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkropachev
Copy link
Collaborator

It is reimplementing stale PR

set_keyspace_blocking is called from places holding a lock, and in case that the connection is closed from the server side, it might hang forever.

using the connect_timeout on it to make sure it
won't hang forever.

Closes: #261

@dkropachev dkropachev force-pushed the dk/add-schema-refresh-timeout branch from eaacfb9 to 1e050fe Compare August 9, 2024 11:26
@dkropachev dkropachev marked this pull request as ready for review August 9, 2024 14:46
@dkropachev dkropachev self-assigned this Aug 9, 2024
@Lorak-mmk
Copy link

I'll repeat what I said on previous PR: I think the root cause is that the disconnected connection is not detected and that is what we should fix. If we correctly detect connection disconnect, then it will error out all the requests on this connection, which will fix infinite waiting.

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

Successfully merging this pull request may close these issues.

test_request_too_large[SSL] get stuck on endloop of trying to connect to scylla
2 participants