Hi all, While reading walsummarizer.c code, I noticed that in WakeupWalSummarizer() we acquire the WALSummarizerLock lock in LW_EXCLUSIVE mode despite only reading WalSummarizerCtl->summarizer_pgprocno. The attached patch uses LW_SHARED mode instead. Feedback is very welcome.
Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com
v1-0001-Use-LW_SHARED-in-WakeupWalSummarizer-for-WALSumma.patch
Description: Binary data