-
Notifications
You must be signed in to change notification settings - Fork 52
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
Use a longer driver timeout for drain #453
Labels
done
Issues in the state 'done'
Comments
adejanovski
added
review
Issues in the state 'review'
and removed
ready-for-review
Issues in the state 'ready-for-review'
labels
Mar 14, 2024
adejanovski
added
done
Issues in the state 'done'
and removed
review
Issues in the state 'review'
labels
Mar 20, 2024
emerkle826
added a commit
that referenced
this issue
Mar 21, 2024
alaye-ms
added a commit
to microsoft/management-api-for-apache-cassandra
that referenced
this issue
Apr 1, 2024
Release v0.1.74 * [FEATURE] [k8ssandra#453](k8ssandra#453) Use a longer driver timeout for drain * [FEATURE] [k8ssandra#455](k8ssandra#455) Add DSE 6.8.43 to the build matrix * [FEATURE] [k8ssandra#458](k8ssandra#458) Update MCAC to v0.3.5 * [ENHANCEMENT] [k8ssandra#441](k8ssandra#441) Replace ShellUtils arbitrary command execution
alaye-ms
added a commit
to microsoft/management-api-for-apache-cassandra
that referenced
this issue
Apr 2, 2024
Release v0.1.74 * [FEATURE] [k8ssandra#453](k8ssandra#453) Use a longer driver timeout for drain * [FEATURE] [k8ssandra#455](k8ssandra#455) Add DSE 6.8.43 to the build matrix * [FEATURE] [k8ssandra#458](k8ssandra#458) Update MCAC to v0.3.5 * [ENHANCEMENT] [k8ssandra#441](k8ssandra#441) Replace ShellUtils arbitrary command execution
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some scenarios, the drain operation can take longer than 30 seconds (the configured driver requesttimetout). Ideally, the call to drain a node would be asynchronous and a new endpoint could be added to poll the status of the drain. However, it would maybe be beneficial to simply adding a "slow" driver execution profile for this, and change the implementation of drain to make a CQL query with the slow profile enabled (see the Java driver docs for more details on execution profiles).
This "slow" execution profile could also be used for other Management API functions that could take longer than 30 seconds to complete under the hood, with the benefit of being able to make the change to management API and not having to make changes on down-stream projects (like cass-operator).
The text was updated successfully, but these errors were encountered: