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

Fix error handling (--fail-fast) for copy workers. (#598)

When the COPY table-data workers fail before the iteration over the list of
tables is done, we have a race condition where the COPY supervisor would be
busy and is not using waitpid(), thus not reacting to worker process
termination.

To solve, limit the responsibilities of the COPY supervisor process even
more and create a new process that's responsible for iterating over the
table list and sending tables/parts to the queue, etc.
parent 9db10402
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