Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic

Поиск
Список
Период
Сортировка
Искать
От
Peter Geoghegan
Тема
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic
Дата
Msg-id
CAH2-Wzk2g-muJ8ndNvgf9B=GsnSONRuW-0KQ9+ge-x5-NNyBmw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Tom Lane <tgl@sss.pgh.pa.us>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Michael Paquier <michael@paquier.xyz>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Tom Lane <tgl@sss.pgh.pa.us>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic "Andres Freund" <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Justin Pryzby <pryzby@telsasoft.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Andres Freund <andres@anarazel.de>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Masahiko Sawada <sawada.mshk@gmail.com>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Tom Lane <tgl@sss.pgh.pa.us>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
Re: pg14b1 stuck in lazy_scan_prune/heap_page_prune of pg_statistic Peter Geoghegan <pg@bowt.ie>
On Thu, Jun 10, 2021 at 5:58 PM Andres Freund  wrote:
> The problem with writing a test is likely to find a way to halfway
> reliably schedule a transaction abort after pruning, but before the
> tuple-removal loop? Does anybody see a trick to do so?

I asked Alexander about using his pending stop events infrastructure
patch to test this code, back when it did the tupgone stuff rather
than loop:

https://postgr.es/m/CAH2-Wz=Tb7bAgCFt0VFA0YJ5Vd1RxJqZRc

I can't see any better way.

ISTM that it would be much more useful to focus on adding an assertion
(or maybe even a "can't happen" error) that fails when the DEAD/goto
path is reached with a tuple whose xmin wasn't aborted. If that was in
place then we would have caught the bug in
GetOldestNonRemovableTransactionId() far sooner. That might actually
catch other bugs in the future.

-- 
Peter Geoghegan


В списке pgsql-hackers по дате отправления
От: David Rowley
Дата:
Сообщение: Re: "an SQL" vs. "a SQL"
От: Tom Lane
Дата:
FAQ