Skip to content

Feature Request: Support for OpenAsSecondary() in RocksDB-Cloud #348

@githubzilla

Description

@githubzilla

Hi RocksDB-Cloud team,

I would like to request support for the OpenAsSecondary() feature in RocksDB-Cloud for a use case involving a Primary node and multiple Standby nodes configuration.

Use Case:

  • Primary Node:
    The Primary node will have read/write access to RocksDB-Cloud (backed by shared S3 storage).
  • Standby Nodes:
    The Standby nodes will only require read access to RocksDB-Cloud. By leveraging OpenAsSecondary(), the Standby nodes would periodically sync with the Primary node through the shared S3 storage.

This setup would allow the Standby nodes to maintain a consistent, read-only view of the database while reducing overhead and avoiding the need for full database reopen operations during synchronization.

Current Limitation:

It appears that DB::OpenAsSecondary() is not currently supported in RocksDB-Cloud. Without this capability, achieving efficient syncing between the Primary and Standby nodes is challenging, as alternative approaches (e.g., manually reopening the database) disrupt the Standby node’s operation and are inefficient.

Feature Request:

Would it be possible to add support for OpenAsSecondary() in RocksDB-Cloud? This feature would be extremely helpful for configurations where multiple Standby nodes need to share a consistent, read-only view of the database synced via S3.

Thank you for considering this request! Please let me know if additional details or clarification are needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions