Re: production server down

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: production server down
Дата
Msg-id 41BFE2C7.7070007@joeconway.com
обсуждение исходный текст
Ответ на Re: production server down  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> My advice is to backup the $PGDATA tree (which you said was in
> progress), then pg_resetxlog, then cross-check the hell out of the data
> you see.  Only if you can detect some data problems can we guess at
> something else to do ...
> 

OK. I plan to gather the usual suspects and try to get an accurate 
picture of the chain of events first thing tomorrow. Then we'll likely 
proceed as you suggest.

Thinking about your comments and reading xlog.c, it almost seems as 
though the mount points were momentarily reversed between /replica and 
/production. I.e. that the /production mount point was used near the 
beginning of StartupXLOG() for ReadControlFile(), and the /replica mount 
point was used at the end of StartupXLOG() for UpdateControlFile(). But 
I have no idea how that could happen.

Thanks,

Joe




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: production server down
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: bgwriter changes