On Mon, May 31, 2010 at 7:03 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> On Thu, May 27, 2010 at 7:21 AM, Heikki Linnakangas
> <heikki(at)postgresql(dot)org> wrote:
>> Log Message:
>> In walsender, don't sleep if there's outstanding WAL waiting to be sent,
>> otherwise we effectively rate-limit the streaming as pointed out by
>> Simon Riggs. Also, send the WAL in smaller chunks, to respond to signals
>> more promptly.
>> Modified Files:
>> walsender.c (r1.20 -> r1.21)
> This commit seems to have introduced the bug that walsender exits
> before sending all the WAL up to shutdown checkpoint record when
> smart shutdown is requested.
> The attached patch fixes the bug and a tiny typo.
Sorry. I forgot to attach the patch..
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
In response to
pgsql-hackers by date
|Next:||From: Heikki Linnakangas||Date: 2010-05-31 10:45:02|
|Subject: Re: [COMMITTERS] pgsql: In walsender, don't sleep if there's outstanding
WAL waiting to|
|Previous:||From: Fujii Masao||Date: 2010-05-31 10:17:03|
|Subject: Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby|
pgsql-committers by date
|Next:||From: Heikki Linnakangas||Date: 2010-05-31 10:44:37|
|Subject: pgsql: Send all outstanding WAL before exiting when smart shutdown is |
|Previous:||From: Fujii Masao||Date: 2010-05-31 10:03:44|
|Subject: Re: [COMMITTERS] pgsql: In walsender, don't sleep if there's outstanding WAL waiting to|