Re: transaction lost when delete clog file after normal shutdown - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: transaction lost when delete clog file after normal shutdown
Date
Msg-id 7E309062-FA1A-4020-A0A6-F8515EA3C89A@yandex-team.ru
Whole thread Raw
In response to Re: Re: transaction lost when delete clog file after normal shutdown  ("章晨曦@易景科技" <zhangchenxi@halodbtech.com>)
List pgsql-hackers

> On 23 Dec 2024, at 15:03, 章晨曦@易景科技 <zhangchenxi@halodbtech.com> wrote:
>
> S1:
> When database normal shutdown, and clog file missing, the database cannot restart. And if make a zero clog file,
databasestarted but may cause transactions lost. 
>
> S2:
> When database crashed, and  clog file missing, when database restart, it will try to recover. And everything is ok
>
> So I think we may improve the database more reliable in some scenarios, e.g. Only clog file corrupted or missing,
likeS1 

I still do not get it. Why clog file would be missing?


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Daniil Davydov
Date:
Subject: Re: Repeatable read transaction doesn't see dropped table
Next
From: "章晨曦@易景科技"
Date:
Subject: Re: Re: transaction lost when delete clog file after normal shutdown