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

Implement pgcopydb clone --follow. #72

Merged
merged 4 commits into from
Jul 19, 2022
Merged

Conversation

dimitri
Copy link
Owner

@dimitri dimitri commented Jul 18, 2022

No description provided.

We need to separate the clone process tree (with its calls to waipid()
blocking until all the sub-processes are done) and the follow process tree
that creates two extra sub-processes (prefetch and catchup).

As a result `pgcopydb clone` process tree is impacted too, and the main
process only exports a snapshot now. The rest of the top-level processing is
actually implemented in the "main" (or "clone") sub-process, even when a
"follow" sub-process is not started.
@dimitri dimitri merged commit fa72893 into main Jul 19, 2022
@dimitri dimitri deleted the feature/pgcopydb-clone--follow branch July 19, 2022 14:09
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

Successfully merging this pull request may close these issues.

1 participant