| From: | surya poondla <suryapoondla4(at)gmail(dot)com> |
|---|---|
| To: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> |
| Cc: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Sami Imseih <samimseih(dot)pg(at)gmail(dot)com> |
| Subject: | Re: Parallel vacuum: check XID wraparound failsafe between indexes |
| Date: | 2026-11-26 17:35:38 |
| Message-ID: | CAOVWO5oHTpStoVT7BFLAO12j5mipHRVDJsXZR1y6x0UAekndUw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Bharath,
Thanks for v4. I tested it on top of current master.
With parallel autovacuum, I lowered vacuum_failsafe_age and
vacuum_multixact_failsafe_age and reloaded while the leader was waiting
for a worker that was still vacuuming a large index, with the table's
age past the lowered limit. The worker picked up the new ages and the
leader reported the failsafe in the same VACUUM. Raising the ages the
same way also works, the worker honors the higher value and the failsafe
doesn't trigger, even with the table past the old limit.
The earlier cases still behave as expected (manual VACUUM with PARALLEL,
leader-only indexes, failsafe in a second index pass, no workers
launched), and make check and the test_autovacuum TAP tests pass.
v4 looks good to me.
Regards,
Surya Poondla
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manu | 2026-11-26 17:35:39 | Re: Allow progress tracking of sub-commands |
| Previous Message | Álvaro Herrera | 2026-11-26 17:18:04 | Re: reltuples kept decreasing with each autovacuum run Re: BUG #18773 |