Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file

Поиск
Список
Период
Сортировка
Искать
От
Bossart, Nathan
Тема
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file
Дата
Msg-id
03CFDCC3-823F-41E0-BCF1-E5B1F11DEADD@amazon.com
Ответ на
Список
Дерево обсуждения
Postgres restart in the middle of exclusive backup and the presence of backup_label file SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Tom Lane <tgl@sss.pgh.pa.us>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Laurenz Albe <laurenz.albe@cybertec.at>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Tom Lane <tgl@sss.pgh.pa.us>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Andrew Dunstan <andrew@dunslane.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Euler Taveira" <euler@eulerto.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Ashutosh Sharma <ashu.coek88@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Magnus Hagander <magnus@hagander.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Laurenz Albe <laurenz.albe@cybertec.at>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Martín Marqués <martin.marques@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Stephen Frost <sfrost@snowman.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Magnus Hagander <magnus@hagander.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Chapman Flack <chap@anastigmatix.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Nathan Bossart <nathandbossart@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Michael Paquier <michael@paquier.xyz>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file David Steele <david@pgmasters.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file Andrew Dunstan <andrew@dunslane.net>
Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file "Bossart, Nathan" <bossartn@amazon.com>
On 1/7/22, 5:52 AM, "David Steele"  wrote:
> On 1/6/22 20:20, Euler Taveira wrote:
>> On Thu, Jan 6, 2022, at 9:48 PM, Bossart, Nathan wrote:
>>> After a quick glance, I didn't see an easy way to hold a session open
>>> while the test does other things.  If there isn't one, modifying
>>> backup_fs_hot() to work with non-exclusive mode might be more trouble
>>> than it is worth.
>>
>> You can use IPC::Run to start psql in background. See examples in
>> src/test/recovery.
>
> I don't think updating backup_fs_hot() is worth it here.
>
> backup_fs_cold() works just fine for this case and if there is a need
> for backup_fs_hot() in the future it can be implemented as needed.

Thanks for the pointer on IPC::Run.  I had a feeling I was missing
something obvious!

I think I agree with David that it still isn't worth it for just this
one test.  Of course, it would be great to test the non-exclusive
backup logic as much as possible, but I'm not sure that this
particular test will provide any sort of meaningful coverage.

Nathan

В списке pgsql-hackers по дате отправления
От: Bossart, Nathan
Дата:
От: Bossart, Nathan
Дата:
FAQ