Re: Flaky vacuum truncate test in reloptions.sql

Поиск
Список
Период
Сортировка
От Arseny Sher
Тема Re: Flaky vacuum truncate test in reloptions.sql
Дата
Msg-id 78aad736-c653-92fd-45ac-4482729459c6@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Flaky vacuum truncate test in reloptions.sql  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Flaky vacuum truncate test in reloptions.sql  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers
On 3/30/21 10:12 AM, Michael Paquier wrote:

 > Yep, this is the same problem as the one discussed for c2dc1a7, where
 > a concurrent checkpoint may cause a page to be skipped, breaking the
 > test.

Indeed, Alexander Lakhin pointed me to that commit after I wrote the 
message.

 > Why not just using DISABLE_PAGE_SKIPPING instead here?

I think this is not enough. DISABLE_PAGE_SKIPPING disables vm consulting 
(sets
aggressive=true in the routine); however, if the page is locked and
lazy_check_needs_freeze says there is nothing to freeze on it, we again 
don't
look at its contents closely.


-- cheers, arseny



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

Предыдущее
От: torikoshia
Дата:
Сообщение: Re: Get memory contexts of an arbitrary backend process
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Refactor SSL test framework to support multiple TLS libraries