From: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
---|---|
To: | "章晨曦(at)易景科技" <zhangchenxi(at)halodbtech(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Junwang Zhao <zhjwpku(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: transaction lost when delete clog file after normal shutdown |
Date: | 2024-12-23 10:15:10 |
Message-ID: | 7E309062-FA1A-4020-A0A6-F8515EA3C89A@yandex-team.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> On 23 Dec 2024, at 15:03, 章晨曦(at)易景科技 <zhangchenxi(at)halodbtech(dot)com> wrote:
>
> S1:
> When database normal shutdown, and clog file missing, the database cannot restart. And if make a zero clog file, database started 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, like S1
I still do not get it. Why clog file would be missing?
Best regards, Andrey Borodin.
From | Date | Subject | |
---|---|---|---|
Next Message | Vladlen Popolitov | 2024-12-23 10:32:04 | Re: Exporting float_to_shortest_decimal_buf(n) with Postgres 17 on Windows |
Previous Message | Daniil Davydov | 2024-12-23 10:11:59 | Re: Repeatable read transaction doesn't see dropped table |