Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24
Дата
Msg-id CAL9smLAQOMNzREjJy-M8kpqGOGYdub3wD1uPb38xeHHRN=TTZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24  (Marko Tiikkaja <marko@joh.to>)
Ответы Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24
Список pgsql-bugs
So I managed to accidentally kill and/or restart both servers while trying to install debug symbols, but I'm doing a new run now and I noticed something interesting: the listening backend's RecentXmin doesn't seem to ever go forward.  By my reading of this code, that would mean trouble for this piece of code in TransactionIdIsInProgress:

  if (TransactionIdPrecedes(xid, RecentXmin))
      return false;

Is this not an obvious bug?  async.c would think the transaction is not running, and did not commit -> throw away the notification.  That would also explain why it takes days for this to happen (since we need to run through enough xids to wrap around).


.m

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

Предыдущее
От: Giovanni Pisante | Danysoft
Дата:
Сообщение: Re: [BUGS] please quote POSTGRESQL
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: [BUGS] 10.0: Logical replication doesn't execute BEFORE UPDATE OF trigger