Unverified Commit fa728933 authored by Dimitri Fontaine's avatar Dimitri Fontaine Committed by GitHub
Browse files

Implement pgcopydb clone --follow. (#72)

* Implement pgcopydb clone --follow.

* Review and improve some replay LSN log messages.

* Review process organisation for pgcopydb clone --follow.

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.

* Improve docs for pgcopydb clone --follow.
parent 944885cf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment