RE: SI messages sent when excuting ROLLBACK PREPARED command

Поиск
Список
Период
Сортировка
От liuhuailing@fujitsu.com
Тема RE: SI messages sent when excuting ROLLBACK PREPARED command
Дата
Msg-id OSZPR01MB62150130DBCBBFA833FFE239BEF09@OSZPR01MB6215.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на RE: SI messages sent when excuting ROLLBACK PREPARED command  ("liuhuailing@fujitsu.com" <liuhuailing@fujitsu.com>)
Ответы Re: SI messages sent when excuting ROLLBACK PREPARED command  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
 Hi, tom

> >Hmmm, yeah, I think you're right.  It probably doesn't make a big difference in
> the real world --- anyone who's dependent on the performance of 2PC rollbaxks
> is Doing It Wrong.
> > But we'd have already done LocalExecuteInvalidationMessage when getting
> out of the prepared transaction, so no other SI invals should be needed.
> Yes, it does not make any error.
> 
> But for the beginner,  when understanding the code,  it may make confused.
> And for the developer, when developing based on this code, it may make
> unnecessary handling added.
> 
> So, I think it is better to optimize the code.
> 
> Here is the patch.
There was a problem with the before patch when testing.  
So resubmit it.

Regards, Liu Huailing


Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Failed transaction statistics to measure the logical replication progress
Следующее
От: "Andrey V. Lepikhov"
Дата:
Сообщение: Extra code in commit_ts.h