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

Support flushing of Capella buckets #390

Open
Westwooo opened this issue Aug 13, 2024 · 0 comments
Open

Support flushing of Capella buckets #390

Westwooo opened this issue Aug 13, 2024 · 0 comments

Comments

@Westwooo
Copy link
Contributor

Westwooo commented Aug 13, 2024

The buckets flush command currently only works against locally running Couchbase buckets. We need to add support for flushing data from Capella buckets.

To do this check if the cluster the command is being run against is Capella (if cluster.clsuter_type() == Provisioned) and if so then we need to use the Capella V4 flush endpoint: https://docs.couchbase.com/cloud/management-api-reference/index.html#tag/Buckets-Scopes-and-Collections/operation/FlushBucket to flush the bucket.

This should be done by adding a flush_bucket function to cloud.rs and call when appropriate.

@Westwooo Westwooo self-assigned this Sep 11, 2024
@Westwooo Westwooo removed their assignment Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant