> On 10 Jul 2026, at 09:13, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> The attached patch fixes this by initializing all data checksum progress
> counters to -1 immediately after progress reporting starts for both
> launcher and worker processes.
>
> While looking at this code, I also found that blocks_done is not reset
> when a worker starts processing a new relation fork. As a result,
> blocks_done can temporarily exceed blocks_total, or a stale blocks_done
> value can remain visible for an empty relation fork. The attached patch
> resets blocks_done together with blocks_total when starting each
> relation fork.
LGTM, thanks!
--
Daniel Gustafsson