Oct 2023

1 commit
Add wait events for checkpoint delay mechanism.
13 Oct 2023Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #11 of 2 reviewers saw the final version

The commit retains both event definitions from #1 but moves the wait-reporting calls inside both polling loops in src/backend/access/transam/xlog.c, immediately around pg_usleep(). This implements the correction discussed in #3 and #4, preventing lock-wait reporting from overwriting the checkpoint-delay event 0013ba290b.

  • Robert Haassaw the final versiontrailerRobert supported IPC classification in #2 and specified the exact placement around pg_usleep() adopted in the committed version in #4.
  • Michael Paquiersaw an earlier versiontrailerMichael endorsed IPC classification and identified the ProcArrayLock wait-event overwrite in #3, prompting a local logic correction without a subsequent review from him in the thread.

Credits across 1 commit

Author
Thomas MunroLLM1
Reviewer
Michael Paquier1
Robert Haas1
Committer
Thomas Munro1

N LLM means N of the credits come from LLM analysis, not from commit trailers.