Re: Incomplete freezing when truncating a relation during vacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Incomplete freezing when truncating a relation during vacuum
Дата
Msg-id 5226.1385931281@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Incomplete freezing when truncating a relation during vacuum  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Incomplete freezing when truncating a relation during vacuum
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> Tom Lane <tgl@sss.pgh.pa.us> schrieb:
>> Uh ... what does the last have to do with it?  Surely we don't run
>> VACUUM on replicas.  Or are you talking about what might happen when
>> VACUUM is run on a former replica that's been promoted to master?

> Unfortunately not. The problem is that xl_heap_freeze's redo function simply reexecutes heap-freeze-tuple() instead
oflogging much about each tuple...
 

That was a pretty stupid choice ... we should think seriously about
changing that for 9.4.  In general the application of a WAL record
needs to be 100% deterministic.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Incomplete freezing when truncating a relation during vacuum
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Incomplete freezing when truncating a relation during vacuum