Re: pg_standby -l might destory the archived file
От | Fujii Masao |
---|---|
Тема | Re: pg_standby -l might destory the archived file |
Дата | |
Msg-id | 3f0b79eb0906011814v1fa01606xe23fdba694fd0ed4@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_standby -l might destory the archived file (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: pg_standby -l might destory the archived file
|
Список | pgsql-hackers |
Hi, On Tue, Jun 2, 2009 at 10:00 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Fujii Masao <masao.fujii@gmail.com> writes: >> If so, it might be deleted after triggering the warm-standby. But, we cannot >> remove it because the latest xlog file which is required for normal recovery >> might exist in it. This is another undesirable scenario. Is this problem? > > What recovery? In the problem case you're positing, the slave server > has executed a checkpoint and come up live. It's never going to be > interested in the old xlog again. Yes, the old xlog itself is not used again. But, the *old file* might be recycled and used later. The case that I'm looking at is that the symlink to a temporary area is recycled. Am I missing something? Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
В списке pgsql-hackers по дате отправления: