From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Avoid hot standby cancels from VAC FREEZE |
Date: | 2016-05-25 23:40:28 |
Message-ID: | E1b5iPc-0005Xl-90@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/294509ea9bb3305230659fd76bd355aec6fcd039
Modified Files
--------------
src/backend/access/heap/heapam.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-05-26 14:51:00 | pgsql: In Windows pg_dump, ensure idle workers will shut down during er |
Previous Message | Tom Lane | 2016-05-25 23:11:07 | pgsql: Remove option to write USING before opclass name in CREATE INDEX |