From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Ensure that top level aborts call XLogSetAsyncCommit(). |
Date: | 2010-07-16 08:03:34 |
Message-ID: | AANLkTinhw8iY9qSt8xGx0PZklrMvZpI5XgP2vumKLYU2@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Mon, May 31, 2010 at 8:48 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> On Mon, 2010-05-31 at 20:11 +0900, Fujii Masao wrote:
>> On Thu, May 13, 2010 at 8:39 PM, Simon Riggs <sriggs(at)postgresql(dot)org> wrote:
>> > Log Message:
>> > -----------
>> > Ensure that top level aborts call XLogSetAsyncCommit(). Not doing
>> > so simply leads to data waiting in wal_buffers which then causes
>> > later commits to potentially do emergency writes and for all forms
>> > of replication to be potentially delayed without need or benefit.
>> > Issue pointed out exactly by Fujii Masao, following bug report
>> > by Robert Haas on a separate though related topic.
>> >
>> > Modified Files:
>> > --------------
>> > pgsql/src/backend/access/transam:
>> > xact.c (r1.290 -> r1.291)
>> > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c?r1=1.290&r2=1.291)
>>
>> This commit changed XLogSetAsyncCommitLSN() so that it's called
>> for abort case. So we need to change the comment of the function
>> as follows:
>
> Agreed, will fix.
>
> Will also rename function to better document its new role.
New function name occurred to you?
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2010-07-16 11:20:23 | pgsql: Add a paragraph explaining what restartpoints are. |
Previous Message | Tom Lane | 2010-07-16 02:15:56 | pgsql: Add support for dividing money by money (yielding a float8 |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2010-07-16 08:13:53 | Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby |
Previous Message | Hans-Jürgen Schönig | 2010-07-16 07:45:35 | Re: SHOW TABLES |