Unverified Commit ff6b4738 authored by Arunprasad Rajkumar's avatar Arunprasad Rajkumar Committed by GitHub
Browse files

Problem: Resume after interrupted clone always fails (#698)

We always call `summary_start_timing` regardless of whether the section has been already done or not., which causing insertion(insert or replace) of default value to `done_time_epoch` because `summary_start_timing` won't be called for already done section.

Solution: Check whether the section is already completed using `runState` and exit early without calling `summary_start_timing` for already done section.

Related to https://github.com/dimitri/pgcopydb/issues/692



Signed-off-by: default avatarArunprasad Rajkumar <ar.arunprasad@gmail.com>
parent 67df98b2
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