k8ssandra / management-api-for-apache-cassandra

RESTful / Secure Management Sidecar for Apache Cassandra
Apache License 2.0
70 stars 51 forks source link

Add async versions of flush and garbagecollect #403

Closed burmanm closed 10 months ago

burmanm commented 11 months ago

Without these, the operations are quite unreliable and have to rely on timeouts. But garbagecollect could take a while and so on relying on cass-operator to just have infinite timeout makes finding errors difficult. And it also ties the operation cass-operator's lifecycle.

This is required by https://github.com/k8ssandra/cass-operator/issues/578 and https://github.com/k8ssandra/cass-operator/issues/580