Re: transaction lost when delete clog file after normal shutdown

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: "章晨曦(at)易景科技" <zhangchenxi(at)halodbtech(dot)com>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, 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 11:30:17
Message-ID: 65564DAA-F2EB-4BF0-B54B-A60AEC019C37@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 23 Dec 2024, at 16:01, 章晨曦(at)易景科技 <zhangchenxi(at)halodbtech(dot)com> wrote:
>
> Yes, of course we can solve this by restoring from backup.
> But if the database volumn is large, say, 100TB or more, the cost
> is really too expensive just because the tiny clog file corrupt.

There are corresponding commitfest entries [0,1], where clog file corruption was discussed. See Emails section.

Thanks!

Best regards Andrey Borodin.

[0] https://commitfest.postgresql.org/16/1462/
[1] https://commitfest.postgresql.org/51/4709/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vladlen Popolitov 2024-12-23 12:14:05 Re: Exporting float_to_shortest_decimal_buf(n) with Postgres 17 on Windows
Previous Message Hayato Kuroda (Fujitsu) 2024-12-23 11:17:47 RE: Logical replication timeout