Re: where should I stick that backup?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: where should I stick that backup?
Дата
Msg-id CA+TgmobTsO6ehqhqU7ggSVKDOX+ZD+5-6cSfDWRN88XFy8KB6A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: where should I stick that backup?  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: where should I stick that backup?
Список pgsql-hackers
On Wed, Apr 8, 2020 at 2:06 PM Stephen Frost <sfrost@snowman.net> wrote:
> * Robert Haas (robertmhaas@gmail.com) wrote:
> > On Wed, Apr 8, 2020 at 1:05 PM Stephen Frost <sfrost@snowman.net> wrote:
> > > What if %f.bz2 already exists?
> >
> > That cannot occur in the scenario I described.
>
> Of course it can.

Not really. The steps I described involved creating a new directory.
Yeah, in theory, somebody could inject a file into that directory
after we created it and before bzip writes any files into it, but
pg_basebackup already has the exact same race condition.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Anna Akenteva
Дата:
Сообщение: Re: [HACKERS] make async slave to wait for lsn to be replayed
Следующее
От: Robert Haas
Дата:
Сообщение: Re: backup manifests and contemporaneous buildfarm failures