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

read-only replicas #47

Open
elee1766 opened this issue Sep 8, 2023 · 0 comments
Open

read-only replicas #47

elee1766 opened this issue Sep 8, 2023 · 0 comments

Comments

@elee1766
Copy link

elee1766 commented Sep 8, 2023

It would be nice to be able to create read-only replicas from the operator.

I imagine there would be a "PrimaryClusterId" field in the DatabaseClusterSpec which would, during creation, create a replica.

If this field was deleted down the line, the database could promote itself to a primary.

alternatively, there could be a "DatabaseReplicaCluster". This would involve adding a field like "ReplicaClusterId" in "DatabaseClusterSpec" which would facilitate the promotion & deletion of the old replica.

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