On Tue, Nov 17, 2026 at 02:24:48AM -0300, Manu wrote: > While REINDEX CONCURRENTLY is "waiting for readers before marking > dead", pg_stat_progress_create_index can show lockers_done greater > than lockers_total (2 and 1 with the attached script), though the > docs say these columns contain the progress information for the > current phase. > > WaitForOlderSnapshots() leaves lockers_total, lockers_done and > current_locker_pid set when it returns, while WaitForLockersMultiple() > resets all three. Both only set lockers_total when they start, so the > wait that comes next inherits the other two.
Hmm, yes. That leads to a temporary glitch in the progress view. I've applied that on HEAD. Thanks. -- Michael
signature.asc
Description: PGP signature
