Re: Confusing with commit time usage in logical decoding

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Confusing with commit time usage in logical decoding
Дата
Msg-id 20160301165755.GA356079@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Confusing with commit time usage in logical decoding  (Artur Zakirov <a.zakirov@postgrespro.ru>)
Ответы Re: Confusing with commit time usage in logical decoding  (Petr Jelinek <petr@2ndquadrant.com>)
Список pgsql-hackers
Artur Zakirov wrote:
> Hello, Andres
> 
> You have introduced a large replication progress tracking infrastructure
> last year. And there is a problem described at the link in the quote below.
> 
> Attached patch fix this issue. Is this patch correct? I will be grateful if
> it is and if it will be committed.

AFAICS this is clearly a bug introduced in 5aa235042:
   /* replay actions of all transaction + subtransactions in order */   ReorderBufferCommit(ctx->reorder, xid,
buf->origptr,buf->endptr,
 
-                       parsed->xact_time);
+                       commit_time, origin_id, origin_lsn);}

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Anastasia Lubennikova
Дата:
Сообщение: Re: WIP: Covering + unique indexes.
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: The plan for FDW-based sharding