May 2023

1 commit
Optimize walsender wake up logic using condition variables
21 May 2023Andres Freundmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #233 of 3 reviewers saw the final version

The commit preserves the final patch's initialization, selective broadcasts, and wait registration/cancellation in src/backend/replication/walsender.c, renaming physicalWALSndCV/logicalWALSndCV to wal_flush_cv/wal_replay_cv and editing comments and commit prose #23. Andres explicitly confirms these minor edits in his push announcement #27.

  • Drouvot, Bertrandsaw the final versiontrailerBertrand tested the initial patch and requested comment and naming improvements #6, then approved the second version #14, after which only light changes followed.
  • Zhijie Housaw the final versiontrailerZhijie identified unintended physical-walsender wakeups in the initial patch #7 and benchmarked the second version, confirming recovery of performance and requesting a grammar correction #12, after which only light changes followed.
  • Andres Freundsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Bharath Rupireddy1
Reviewer
Andres Freundcommitter1
Bertrand Drouvot1
Zhijie Hou (Fujitsu)1
Reported by
Andres Freund1
Committer
Andres Freund1