Re: Review: Patch to compute Max LSN of Data Pages

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Review: Patch to compute Max LSN of Data Pages
Дата
Msg-id 015101ce7bcf$fb8d47f0$f2a7d7d0$@kapila@huawei.com
обсуждение исходный текст
Ответ на Re: Review: Patch to compute Max LSN of Data Pages  ('Andres Freund' <andres@2ndquadrant.com>)
Ответы Re: Review: Patch to compute Max LSN of Data Pages  ('Andres Freund' <andres@2ndquadrant.com>)
Список pgsql-hackers
On Monday, July 08, 2013 4:26 PM Andres Freund wrote:
> On 2013-07-08 16:17:54 +0530, Hari Babu wrote:
> > +    This utility can also be used to decide whether backup is
> required or not when the data page
> > +    in old-master precedes the last applied LSN in old-standby
> (i.e., new-master) at the
> > +    moment of the failover.
> > +   </para>
> > +  </refsect1>
> 
> I don't think this is safe in any interesting set of cases. Am I
> missing
> something?

No, you are not missing anything. It can be only used to find max LSN in
database which can avoid further corruption 

> People falsely thinking that it can be used for this is the primary
> reason for me objecting the patch...

With Regards,
Amit Kapila.




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

Предыдущее
От: "MauMau"
Дата:
Сообщение: [9.3 bug fix] backends emit hundreds of messages when statistics file is inaccessible
Следующее
От: 'Andres Freund'
Дата:
Сообщение: Re: Review: Patch to compute Max LSN of Data Pages