Re: Avoid erroring out when unable to remove or parse logical rewrite files to save checkpoint work

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Avoid erroring out when unable to remove or parse logical rewrite files to save checkpoint work
Date: 2022-01-20 20:41:16
Message-ID: 867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/20/22, 12:24 PM, "Bossart, Nathan" <bossartn(at)amazon(dot)com> wrote:
> On 1/20/22, 11:47 AM, "Andres Freund" <andres(at)anarazel(dot)de> wrote:
>>> + /* persist directory entries to disk */
>>> + fsync_fname("pg_logical/mappings", true);
>>
>> This is probably worth backpatching, if you split it out I'll do so.
>
> Sure thing, will do shortly.

Here's this part.

Nathan

Attachment Content-Type Size
v3-0001-persist-directory-entries-for-logical-rewrite-fil.patch application/octet-stream 751 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message James Coleman 2022-01-20 20:43:37 Re: Document atthasmissing default optimization avoids verification table scan
Previous Message Andrew Dunstan 2022-01-20 20:31:04 Re: Document atthasmissing default optimization avoids verification table scan