Skip to content

feat(cloud): add flush endpoint for non-Active-Active databases #467

@joshrotenberg

Description

@joshrotenberg

Summary

Add support for flushing non-Active-Active (standard) Pro databases.

Current state

We have:

  • cloud database flush-crdb - Flush Active-Active database

Missing

  • PUT /subscriptions/{subscriptionId}/databases/{databaseId}/flush - Flush standard database

Implementation

CLI

Add cloud database flush <subscription_id:database_id> command

Consider:

  • Rename existing flush-crdb to flush-aa for consistency
  • Or use a single flush command with --active-active flag

Notes

  • Destructive operation - should require confirmation
  • May need --force flag to skip confirmation

Metadata

Metadata

Assignees

No one assigned

    Labels

    cloud-apiRelated to Redis Cloud API functionalityenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions