-
Notifications
You must be signed in to change notification settings - Fork 133
Description
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 leveragingOpenAsSecondary(), 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.