Re: Force the old transactions logs cleanup even if checkpoint is skipped

Поиск
Список
Период
Сортировка
От Zakhlystov, Daniil (Nebius)
Тема Re: Force the old transactions logs cleanup even if checkpoint is skipped
Дата
Msg-id AM9P190MB1234BC947DD3A5D30C805068B5A9A@AM9P190MB1234.EURP190.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: Force the old transactions logs cleanup even if checkpoint is skipped  (Shlok Kyal <shlok.kyal.oss@gmail.com>)
Список pgsql-hackers
Hi!

Thanks for your review. I've actually missed the logic to retain some WALs required for replication slots or
wal_keep_sizesetting. I've attached the updated version of the patch with an additional call to KeepLogSeg(). Now it
passedall the tests, at least in my fork (https://cirrus-ci.com/build/4770244019879936). 


Daniil Zakhlystov

________________________________________
From: Shlok Kyal <shlok.kyal.oss@gmail.com>
Sent: Thursday, November 2, 2023 1:25 PM
To: Zakhlystov, Daniil (Nebius)
Cc: amborodin@acm.org; pgsql-hackers@lists.postgresql.org; Mokrushin, Mikhail (Nebius)
Subject: Re: Force the old transactions logs cleanup even if checkpoint is skipped

CAUTION: This email originated from outside mail organization. Do not click links or open attachments unless you
recognizethe sender. 

Hi,

I went through the Cfbot and saw that some test are failing for it
(link: https://cirrus-ci.com/task/4631357628874752):

test:         postgresql:recovery / recovery/019_replslot_limit

# test failed
----------------------------------- stderr -----------------------------------
# poll_query_until timed out executing this query:
# SELECT '0/15000D8' <= replay_lsn AND state = 'streaming'
#          FROM pg_catalog.pg_stat_replication
#          WHERE application_name IN ('standby_1', 'walreceiver')
# expecting this output:
# t
# last actual query output:
#
# with stderr:
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 29 just after 7.

I tried to test it locally and this test is timing out in my local
machine as well.

Thanks
Shlok Kumar Kyal

Вложения

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

Предыдущее
От: Jelte Fennema-Nio
Дата:
Сообщение: Call pqPipelineFlush from PQsendFlushRequest
Следующее
От: Nikita Malakhov
Дата:
Сообщение: Re: RFC: Pluggable TOAST