-
Notifications
You must be signed in to change notification settings - Fork 448
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
Settings up replication between two stolon clusters #606
Comments
@codervinod You can try use pgpool |
Are you using |
Yes, I add pgpool after stolon |
@Negashev Sorry I didn't understand. Can you please elaborate? |
@dineshba Okay, cards on the table my configuration for k8s
and health check |
@codervinod currently stolon doesn't support connecting to standby replicas, refer #132 I can think of two possible solution
|
Stolon is for postgres high availability, you can do whatever you want to read from slaves based on your application requirements, just ensure that you use the stolon proxy when doing write transactions. |
Hello, Cheers! |
We are interested in a use case like above too. Anyone has any suggestions? |
@rajiteh @Paddey Yes, this is possible. You can have 1 primary stolon cluster which can take both reads and writes and can setup any number of secondary stolon clusters(standby). And all the keepers of this secondary stolon cluster can only take reads. To setup secondary stolon cluster on standby mode, initialise stolon cluster on pitr mode.
|
Hello, |
We are trying to have one stolon cluster in each GCP region and have replication amongst these clusters. Read will only go to one stolon cluster , however we want reads to happen locally. Can anyone guide if this is possible?
Submission type
Environment
Stolon version
Additional environment information if useful to understand the bug
Expected behaviour you didn't see
Unexpected behaviour you saw
Steps to reproduce the problem
Enhancement Description
The text was updated successfully, but these errors were encountered: