Re: Why don't update minimum recovery point in xact_redo_abort

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>, Michael Paquier <michael@paquier.xyz>
Cc: 蔡梦娟(玊于) <mengjuan.cmj@alibaba-inc.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-07-28T16:39:42Z
Lists: pgsql-hackers

On 2021/07/28 12:44, Fujii Masao wrote:
> 
> 
> On 2021/07/28 6:25, Heikki Linnakangas wrote:
>> On 27/07/2021 19:49, Fujii Masao wrote:
>>> Anyway I attached the patch that changes only xact_redo_abort()
>>> so that it calls XLogFlush() to update min recovery point.
>>
>> Looks good to me, thanks! FWIW, I used the attached script to reproduce this.
> 
> Thanks for the review!
> 
> Barring any objection, I will commit the patch and
> back-patch it to all supported versions.

Pushed. Thanks!

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Update minimum recovery point on truncation during WAL replay of abort record.

  2. Update minimum recovery point on truncation.