Re: HOT chain validation in verify_heapam()

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Himanshu Upadhyaya <upadhyaya(dot)himanshu(at)gmail(dot)com>
Cc: Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: HOT chain validation in verify_heapam()
Date: 2023-01-31 13:50:29
Message-ID: CA+TgmoYNqimmA0ziZVQhwcUSx2+bWOuvtg0LwR8=3_tSg7abyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jan 30, 2023 at 8:24 AM Himanshu Upadhyaya
<upadhyaya(dot)himanshu(at)gmail(dot)com> wrote:
> Before this we stop the node by "$node->stop;" and then only we progress to
> manual corruption. This will abort all running/in-progress transactions.
> So, if we create an in-progress transaction and comment "$node->stop;"
> then somehow all the code that we have for manual corruption does not work.
>
> I think it is required to stop the server and then only proceed for manual corruption?
> If this is the case then please suggest if there is a way to get an in-progress transaction
> that we can use for manual corruption.

How about using a prepared transaction?

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Onur Tirtir 2023-01-31 14:00:05 [PATCH] Report the query string that caused a memory error under Valgrind
Previous Message Dean Rasheed 2023-01-31 13:40:05 Re: [PATCH] Fix old thinko in formula to compute sweight in numeric_sqrt().