Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

How to safely stop replication? #32

Open
maiabdelqader opened this issue Sep 10, 2019 · 2 comments
Open

How to safely stop replication? #32

maiabdelqader opened this issue Sep 10, 2019 · 2 comments

Comments

@maiabdelqader
Copy link

maiabdelqader commented Sep 10, 2019

Is there a way to safely stop pg2ch replication?

I need to run pg2ch for few minutes each hour and then to stop it to avoid keeping connections open on PostgreSQL. Is there a way to do that rather than the kill command?

@mkabilov
Copy link
Owner

in the current version that might be possible by killing(sending TERM signal) the pg2ch process.

we're currently working on the new version of pg2ch which will allow pausing replication.

@maiabdelqader
Copy link
Author

Is there an side effect for the killing? And when I re-run the pg2ch will it resume from where it reached before the killing?

When it is expected to launch the new version?

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

No branches or pull requests

2 participants