Re: Notify downstream to discard the streamed transaction which was aborted due to crash.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Notify downstream to discard the streamed transaction which was aborted due to crash.
Дата
Msg-id CAA4eK1KYUiFzqGXh0u2z9+dCyBTbQvjrkvZLudq8HE59ZzMmaw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Notify downstream to discard the streamed transaction which was aborted due to crash.  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
On Fri, Jan 6, 2023 at 11:18 AM Dilip Kumar <dilipbalaut@gmail.com> wrote:
>
> >
> > To fix it, One idea is to send a stream abort message when we are cleaning up
> > crashed transaction on publisher(e.g. in ReorderBufferAbortOld()). And here is
> > a tiny patch which changes the same. I have confirmed that the bug is fixed and
> > all regression tests pass. I didn't add a testcase because we need to make sure
> > the crash happens before all the WAL logged transactions data are decoded which
> > doesn't seem easy to write a stable test for this.
> >
> > Thoughts ?
>
> Fix looks good to me.  Thanks for working on this.
>

Pushed!

-- 
With Regards,
Amit Kapila.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Allow DISTINCT to use Incremental Sort
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Generating code for query jumbling through gen_node_support.pl