Reset progress counters at end of WaitForOlderSnapshots() WaitForOlderSnapshots() reports lockers_total, lockers_done and current_locker_pid while it waits, leaving them set when the wait is done. A follow-up wait could inherit stale values, leading to some temporary glitches in the progress view.
Like WaitForLockersMultiple(), the counters are now reset when leaving WaitForOlderSnapshots(). Oversight in ab0dfc961b6. No backpatch is done, as this is cosmetic. Author: Manu <[email protected]> Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3e26b3cb25149e5d9ab4322a750317475211cd21 Modified Files -------------- src/backend/commands/indexcmds.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
