Re: Wait events for delayed checkpoints
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-10-13T03:51:50Z
Lists: pgsql-hackers
On Fri, Oct 13, 2023 at 2:19 PM Robert Haas <robertmhaas@gmail.com> wrote: > On Thu, Oct 12, 2023 at 7:09 PM Michael Paquier <michael@paquier.xyz> wrote: > > HaveVirtualXIDsDelayingChkpt() does immediately a LWLockAcquire() > > which would itself report a wait event for ProcArrayLock, overwriting > > this new one, no? > > Ah, right: the wait event should be set and cleared around pg_usleep, > not the whole loop. Duh. Yeah. Pushed like that. Thanks both.
Commits
-
Add wait events for checkpoint delay mechanism.
- 0013ba290b66 17.0 landed