| От | Tom Lane |
|---|---|
| Тема | Re: 7.4.5 losing committed transactions |
| Дата | |
| Msg-id | 8333.1096082704@sss.pgh.pa.us обсуждение |
| Ответ на | Re: 7.4.5 losing committed transactions (Jan Wieck <JanWieck@Yahoo.com>) |
| Список | pgsql-hackers |
Jan Wieck <JanWieck@Yahoo.com> writes:
> I guess nobody ever relied that heavily on data to be persistent at the
> microsecond the NOTIFY arrives ...
Sure they have.
In theory you cannot see a NOTIFY before the sending transaction
commits, because the sender is holding a lock on pg_notify and you can't
even find out that you've been notified until he releases it.
Your idea that the COMMIT WAL record is getting dropped would fit the
facts, but I really am having a hard time believing it. Why would the
COMMIT record be more prone to loss than any other record? All the
cases I have seen so far have the right number of non-COMMIT records in
the log, so the bogus transaction is not getting lost altogether.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера