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

Remove timeouts from synchronous Scylla API calls #3675

Closed
Michal-Leszczynski opened this issue Dec 28, 2023 · 0 comments · Fixed by #3673
Closed

Remove timeouts from synchronous Scylla API calls #3675

Michal-Leszczynski opened this issue Dec 28, 2023 · 0 comments · Fixed by #3673

Comments

@Michal-Leszczynski
Copy link
Collaborator

Some Scylla endpoints returns only when the operation has been finished. In case this operation is expected to take a long time, we should just hang on the connection and wait for response - not timeout and retry, because it is less efficient and creates confusing error logs. The 2 synchronous calls used with default timeout are:

  • StorageServiceRepairStatus: {"L":"INFO","T":"2023-12-01T01:31:54.398Z","N":"cluster.client","M":"HTTP retry backoff","operation":"StorageServiceRepairStatus","wait":"28.607063257s","error":"after 16m0s: context deadline exceeded","_trace_id":"uqSjtDSfRoOl1WhetiLPgA"}
  • StorageServiceSstablesByKeyspacePost: {"L":"INFO","T":"2023-11-30T23:03:07.117Z","N":"cluster.client","M":"HTTP retry backoff","operation":"StorageServiceSstablesByKeyspacePost","wait":"999.175032ms","error":"after 30s: context deadline exceeded","_trace_id":"uqSjtDSfRoOl1WhetiLPgA"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant