pgsql: Avoid hot standby cancels from VAC FREEZE

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Avoid hot standby cancels from VAC FREEZE
Дата
Msg-id E1b5iPc-0005Xj-8v@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid hot standby cancels from VAC FREEZE

VACUUM FREEZE generated false cancelations of standby queries on an
otherwise idle master. Caused by an off-by-one error on cutoff_xid
which goes back to original commit.

Analysis and report by Marco Nenciarini

Bug fix by Simon Riggs

This is a correct backpatch of commit 66fbcb0d2e to branches 9.1 through
9.4.  That commit was backpatched to 9.0 originally, but it was
immediately reverted in 9.0-9.4 because it didn't compile.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6537a48c5521cb2fc401e18fe678633a688965b5

Modified Files
--------------
src/backend/access/heap/heapam.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Avoid hot standby cancels from VAC FREEZE
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Avoid hot standby cancels from VAC FREEZE