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

Additional syncing mechanisms #389

Open
sgotti opened this issue Dec 18, 2017 · 5 comments
Open

Additional syncing mechanisms #389

sgotti opened this issue Dec 18, 2017 · 5 comments

Comments

@sgotti
Copy link
Member

sgotti commented Dec 18, 2017

Currently stolon only sync from primary using pg_basebackup since it's the most safe and easy way to do this.

We could add different syncing mechanisms (i.e. from backup, rsync etc...).

The difficult part of this different mechanisms is to check that the standby contains valid postgres data files (i.e. it was restored from the right backup).

@maksm90
Copy link
Contributor

maksm90 commented Oct 12, 2018

Hi @sgotti ! Is there anybody who is working on this issue?

@sgotti
Copy link
Member Author

sgotti commented Oct 12, 2018

@maksm90 no one that I'm aware of.

@maksm90
Copy link
Contributor

maksm90 commented Oct 12, 2018

AFAICS it's necessary to implement an additional option to recover replica from third-party source similar to pitr mode of cluster initialization and enter this node into cluster. And config options have to duplicate the subset of PITRConfig, namely it have to comprise dataRestoreCommand and archiveRecoverySettings options. Right?

@sgotti
Copy link
Member Author

sgotti commented Nov 29, 2019

@maksm90

AFAICS it's necessary to implement an additional option to recover replica from third-party source similar to pitr mode of cluster initialization and enter this node into cluster. And config options have to duplicate the subset of PITRConfig, namely it have to comprise dataRestoreCommand and archiveRecoverySettings options. Right?

This is a different RFE from this one. Currently replicas only sync from the primary. Please open a new RFE issue and/or a PR implementing this.

@maksm90
Copy link
Contributor

maksm90 commented Dec 6, 2019

This is a different RFE from this one. Currently replicas only sync from the primary. Please open a new RFE issue and/or a PR implementing this.

Done

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

No branches or pull requests

2 participants