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

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

Open
githubzilla opened this issue Nov 22, 2024 · 0 comments
Open

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

githubzilla opened this issue Nov 22, 2024 · 0 comments

Comments

@githubzilla
Copy link

githubzilla commented Nov 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant