Re: Suppressing useless wakeups in walreceiver

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, alvherre(at)alvh(dot)no-ip(dot)org, bharath(dot)rupireddyforpostgres(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Suppressing useless wakeups in walreceiver
Date: 2022-11-16 03:57:08
Message-ID: CA+hUKGL0egeL03eTpUm=Nktj9McvMt54DxTuGrsHcG0u_xZnsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 15, 2022 at 5:49 PM Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
> Another option might be to just force initial reply/feedback messages when
> streaming starts. The attached patch improves src/test/recovery test
> runtime just like the previous one I posted.

Yeah, looks good in my tests. I think we just need to make it
conditional so we don't force it if someone has
wal_receiver_status_interval disabled.

Attachment Content-Type Size
0001-Fix-slowdown-in-TAP-tests-due-to-recent-walreceiver-.patch text/x-patch 1.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lawrence Barwick 2022-11-16 03:57:44 Re: logical replication restrictions
Previous Message 成之焕 2022-11-16 03:37:25 contrib: auth_delay module