Re: [HACKERS] PANIC in pg_commit_ts slru after crashes - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [HACKERS] PANIC in pg_commit_ts slru after crashes
Date
Msg-id CANP8+jJcnKab54D+RO0DHTOejQ-b5cQqf_XntF1Z1YOTLL4ihA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] PANIC in pg_commit_ts slru after crashes  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: [HACKERS] PANIC in pg_commit_ts slru after crashes
List pgsql-hackers
On 17 April 2017 at 16:33, Jeff Janes <jeff.janes@gmail.com> wrote:
> On Sun, Apr 16, 2017 at 6:59 PM, Michael Paquier <michael.paquier@gmail.com>
> wrote:
>>
>>
>>
>> Jeff, does this patch make the situation better? The fix is rather
>> simple as it just makes sure that the next XID never gets updated if
>> there are no 2PC files.
>
>
> Yes, that fixes the reported case when 2PC are not being used.

Thanks Jeff.

I certainly prefer the simplicity of Michael's approach. I'll move to commit.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Kang Yuzhe
Date:
Subject: Re: [HACKERS] On How To Shorten the Steep Learning Curve Towards PG Hacking...
Next
From: Kang Yuzhe
Date:
Subject: Re: [HACKERS] On How To Shorten the Steep Learning Curve Towards PG Hacking...